Show Disk Usage For The Current Directory
The du
utility can be used to show disk usage for a particular directory or set of directories. When used without any arguments, it will show the disk usage for the current directory.
with the -h
command we can see it all in a human-readable format
and to get an even clearer picture we can pipe that through sort -nr
This sorts it numerically in reverse order putting the largest stuff at the top.
Last updated