diff --git a/pages/common/df.md b/pages/common/df.md index 84c44fb3d..abc8d99f4 100644 --- a/pages/common/df.md +++ b/pages/common/df.md @@ -17,3 +17,7 @@ - Display statistics on the number of free inodes: `df -i` + +- Display file systems but exclude the specified type: + +`df -x {{squashfs}} -x {{tmpfs}}` diff --git a/pages/linux/lsblk.md b/pages/linux/lsblk.md index ab473b134..9dd3cac48 100644 --- a/pages/linux/lsblk.md +++ b/pages/linux/lsblk.md @@ -25,3 +25,7 @@ - Output info about block-device topology: `lsblk -t` + +- Exclude the devices specified by the comma-separated list of major device numbers: + +`lsblk -e {{1,7}}`