diff --git a/commands.md b/commands.md index 455689e..0445160 100644 --- a/commands.md +++ b/commands.md @@ -44,6 +44,8 @@ systat -tcp 1 # show tcp statistics ``` zfs list # list all zfs datasets (volumes) +zfs list -t snapshot # list all zfs snapshots +zfs list -r -t snapshot # list zfs snapshots for a given pool zfs snapshot /@ # generic way of creating a snapshot of a dataset in a storage pool zfs snapshot -r tank@2014021301 # create a snapshot of all datasets in the pool "tank" zfs create / # create a new dataset @@ -88,6 +90,7 @@ pkg info # show list of currently installed ports pkg version # show which ports/packages are outdated and need an update pkg upgrade # upgrade a packages pkg which # find out which package installed a given file +pkg audit -F # look for ports/packages with security vulnerabilities # System freebsd-update fetch # fetch updates from server