Back to search

lsblk

command filesystem

List information about block devices

Options

Specific device to list (empty for all)

Output in JSON format for scripting

Show only top-level devices without partitions

Suppress column headings (useful for scripting)

Comma-separated column names (e.g. NAME,SIZE,TYPE,MOUNTPOINT)

Generated Command

lsblk