Find top directories by size is useful to find and delete large files on Linux. One can use du command for this.
- Change to Linux root
cd /
- Run du with -S option and use it with sort
sudo du -Sh | sort -rh | head -20
Find top directories by size is useful to find and delete large files on Linux. One can use du command for this.
cd /
sudo du -Sh | sort -rh | head -20