Basic hard disk configuration query

*Query the overall disk usage*

df -h

#Command extension

#df -a Display the usage of all file systems

#df -i Display inode information

#df -k The number of bytes displayed shows the block occupancy

#df -T Display the type of file system

*View directory structure*

#-L Specify the directory depth

tree -L 2 /home/

*Display all available block device information in a tree format*

lsblk

*List all available devices, Universal Unique Identifier (UUID), file system type and volume label*

blkid

Guess you like

Origin blog.csdn.net/qq_34939308/article/details/110918267