瀏覽代碼

lsblk, df: add exclude examples (#4086)

Ein Verne 4 年之前
父節點
當前提交
346abde565
共有 2 個文件被更改,包括 8 次插入0 次删除
  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}}`