[CentOS] Suddenly increased my hard disk
John R Pierce
pierce at hogranch.com
Thu Apr 7 05:24:46 UTC 2016
On 4/6/2016 10:08 PM, Chandran Manikandan wrote:
> Am currently running dos mode not graphical mode.
> Could you have any other method.
for unix shell (its *not* 'dos mode', MSDOS is a legacy system of
Microsoft), du is the command to use.
du -hs /*
will give you a summary of the space used by every top level
directory. ignore /dev /proc and /sys as they aren't real directories,
theya re pseudo file systems. if it turns out, for example, that /var
is the biggest pig, then
du -hs /var/*
to see the totals of whats in each folder in /var
john r pierce, recycling bits in santa cruz
More information about the CentOS