This article is a mirror article of machine translation, please click here to jump to the original article.

View: 28090|Reply: 0

[linux] Linux is a great way to see disk space

[Copy link]
Posted on 2/16/2015 3:38:55 PM | | |

df comes from the coreutils package, which comes with the system when it is installed; With this command, we can see the disk usage and where the file system is mounted;

Example:

[root@localhost beinan]# df -lh

Filesystem capacity used Used Available % used mount points

/dev/hda8 11G 6.0G 4.4G 58% /

/dev/shm 236M 0 236M 0% /dev/shm

/dev/sda1 56G 22G 35G 39% /mnt/sda1

We can see from this that the system is installed in /dev/hda8; There is also a 56G disk partition /dev/sda1 mounted in /mnt/sda1;




Previous:Command to view system resource usage in CentOS
Next:"Wanted in the City" is very scary...
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com