mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-05 07:55:46 +00:00
Update cheatsheets
This commit is contained in:
@@ -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,...}}`
|
||||
|
||||
Reference in New Issue
Block a user