Discussion Locked

How to check HDD space use

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

RHL9
How can I check how much HDD space is used. RHL9 was installed on a 20 Gb drive with whatever default partioning installer gave it.

5 replies

by softcorp.us

Hello...

The quick way is the "df" command:

[root@VMSOFTCORP symlinks]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda2 16152764 2339472 12992776 16% /
/dev/hda1 101089 9323 86547 10% /boot
none 63028 0 63028 0% /dev/shm
[root@VMSOFTCORP symlinks]#

-----Steve Jackson

CEO/CSA
Software Corporation (Softcorp)
http://www.softcorp.us/probono
Advanced pro bono tools and utilities free for personal use

by jmgarvin

To make it human readable use df -h.
#df -h

You can also find the size of directories via the du command. du -h makes it human readable.
#du -h

ls -lah lists all your files and directories with the size in human readable format.
#ls -lah

This discussion is closed to new replies.