소스 검색

lsblk: add custom output example (#5039)

sbuller 4 년 전
부모
커밋
2c80e464ba
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      pages/linux/lsblk.md

+ 4 - 0
pages/linux/lsblk.md

@@ -29,3 +29,7 @@
 - Exclude the devices specified by the comma-separated list of major device numbers:
 
 `lsblk -e {{1,7}}`
+
+- Display a customized summary using a comma-separated list of columns:
+
+`lsblk --output {{NAME}},{{SERIAL}},{{MODEL}},{{TRAN}},{{TYPE}},{{SIZE}},{{FSTYPE}},{{MOUNTPOINT}}`