Monday, December 5, 2011

COMMAND LINE QUICKIE: CHECK YOUR DISK USAGE

Assuming your main filesystems are ext4 …
enter this command in a terminal  to see your drive space: df -h -t ext4 --total

$ df -h -t ext4 --total
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             8.5G  5.8G  2.2G  73% /
/dev/sdb1             187G   29G  149G  17% /home
total                 196G   35G  152G  19%

No comments:

Post a Comment