Browse Source

lsblk, df: add exclude examples (#4086)

Ein Verne 4 years ago
parent
commit
346abde565
2 changed files with 8 additions and 0 deletions
  1. 4 0
      pages/common/df.md
  2. 4 0
      pages/linux/lsblk.md

+ 4 - 0
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}}`

+ 4 - 0
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}}`