
lsblk
List of commands for lsblk:
-
lsblk:ai:0373c Lists all drives with their types, sizes, and mount points$ lsblk -o NAME,TYPE,SIZE,MOUNTPOINTtry on your machineexplain this command
-
lsblk:ai:0b3da List all partitions as a JSON string$ lsblk -Jtry on your machineexplain this command
-
lsblk:ai:27166 Check if /dev/sdb1 is mounted and its mountpoint using lsblk command$ lsblk /dev/sdb1 -o NAME,MOUNTPOINTtry on your machineexplain this command
-
lsblk:ai:2bf9e Lists all hard drive partitions with their filesystem type and mount point$ lsblk -o NAME,FSTYPE,MOUNTPOINT -r -Jtry on your machineexplain this command
-
lsblk:ai:8b78b Verify the ext4 file system on /dev/sdb1$ lsblk -f /dev/sdb1try on your machineexplain this command
-
lsblk:tldr:1490c lsblk: Use ASCII characters for tree formatting.$ lsblk -itry on your machineexplain this command
-
lsblk:tldr:28b34 lsblk: Exclude the devices specified by the comma-separated list of major device numbers.$ lsblk -e ${1,7}try on your machineexplain this command
-
lsblk:tldr:3e041 lsblk: Display a customized summary using a comma-separated list of columns.$ lsblk --output ${NAME},${SERIAL},${MODEL},${TRAN},${TYPE},${SIZE},${FSTYPE},${MOUNTPOINT}try on your machineexplain this command
-
lsblk:tldr:8aa2d lsblk: Print the SIZE column in bytes rather than in a human-readable format.$ lsblk -btry on your machineexplain this command
-
lsblk:tldr:918e3 lsblk: Output info about filesystems.$ lsblk -ftry on your machineexplain this command
-
lsblk:tldr:97ca5 lsblk: Output info about block-device topology.$ lsblk -ttry on your machineexplain this command
-
lsblk:tldr:9d3de lsblk: List all storage devices in a tree-like format.$ lsblktry on your machineexplain this command
-
lsblk:tldr:f46f8 lsblk: Also list empty devices.$ lsblk -atry on your machineexplain this command