Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-13 00:18:34 +00:00
parent ffbd8c31db
commit 904f7fe0c1
46 changed files with 228 additions and 157 deletions

View File

@@ -14,28 +14,28 @@ source: https://github.com/tldr-pages/tldr.git
- Also list empty devices:
`lsblk -a`
`lsblk {{[-a|--all]}}`
- Print the SIZE column in bytes rather than in a human-readable format:
`lsblk -b`
`lsblk {{[-b|--bytes]}}`
- Output info about filesystems:
`lsblk -f`
`lsblk {{[-f|--fs]}}`
- Use ASCII characters for tree formatting:
`lsblk -i`
`lsblk {{[-i|--ascii]}}`
- Output info about block-device topology:
`lsblk -t`
`lsblk {{[-t|--topology]}}`
- Exclude the devices specified by the comma-separated list of major device numbers:
`lsblk -e {{1,7,...}}`
`lsblk {{[-e|--exclude]}} {{1,7,...}}`
- Display a customized summary using a comma-separated list of columns:
`lsblk --output {{NAME,SERIAL,MODEL,TRAN,TYPE,SIZE,FSTYPE,MOUNTPOINT,...}}`
`lsblk {{[-o|--output]}} {{NAME,SERIAL,MODEL,TRAN,TYPE,SIZE,FSTYPE,MOUNTPOINT,...}}`