lsblk Linux Command Examples
usage: list block devices
syntax: $ lsblk [options] device
Examples For lsblk Linux Command:
1. for help info of this command
$ lsblk -h
2. To list all block devices
$ lsblk -a
3. To print the size column in bytes
$ lsblk -b
4. To avoid print of device holders and to print information of specific device sdaX
$ lsblk -d /dev/sdaX
5. To print discard capabilities
$ lsblk -D
6. To print output info about filesystems
$ lsblk -f
7. To print output info about topology
$ lsblk -t
8. To print output info about permissions
$ lsblk -m
No comments:
Post a Comment