Home >Operation and Maintenance >CentOS >How to check how much space the hard disk has in centos
In centos, you can use the df command to check how much space the hard disk has. This command can display the current file system disk usage on the system. When the parameter is set to "-h", it is more convenient to check the hard disk. For spatial conditions, the syntax is "df -h".
The operating environment of this article: centos 6.4 system, Dell G3 computer.
df (full English spelling: disk free) command is used to display the current file system disk usage statistics on the system.
Syntax
df [选项]... [FILE]...
File-a, --all Contains all file systems with 0 Blocks
File- -block-size={SIZE} Use {SIZE} size Blocks
file -h, --human-readable Use human-readable format (default value is not to add this Options...)
File -H, --si is like -h, but uses 1000 instead of 1024
File-i, --inodes List inode information, do not list used blocks
The example is as follows:
Recommended tutorial: "centos tutorial"
The above is the detailed content of How to check how much space the hard disk has in centos. For more information, please follow other related articles on the PHP Chinese website!