common/: dig, gzip, rm, sort, zfs, zpool linux/: apt-get, shutdown osx/: airport, caffeinate, diskutil, networksetup open, pgrep, qlmanage, say, shutdown, sysctl, system_profiler Edits to existing pages: curl: Added simple download example find: Added iname and size exmaples grep: Edited -c description ps: Added wide lines example ssh: edited -D description, added simple port forwarding example unzip: added list option
491 B
491 B
zfs
Manage ZFS filesystems
- List all available zfs filesystems
zfs list
- Create a new ZFS filesystem
zfs create poolname/newfsname
- Delete a ZFS filesystem
zfs destroy {{poolname/newfsname}}
- Create a Snapshot of a ZFS filesystem
`zfs snapshot {{poolname/filesystem@snapshot-name}}
- Enable compression on a filesystem
`zfs set compression=on {{poolname/fileystem}}
- Change mountpoint for a filesytem
`zfs set mountpoint={{/my/mount/path}} {{poolname/filesystem}}