find large folders linux code example
Example 1: linux show large folders
du -a | sort -n -r | head -n 5
Example 2: see how large a directory is linux
# du -a /home | sort -n -r | head -n 5
du -a | sort -n -r | head -n 5
# du -a /home | sort -n -r | head -n 5