Monday, September 23, 2013

lsblk Linux Command Examples

lsblk Linux Command Examples

lsblk Linux Command Examples

command: lsblk

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

lsblk Linux Command Examples

No comments:

Post a Comment

Linux Tips and tricks,Online Linux Helpers