check size of directories linux code example Example: see how large a directory is linux # du -a /home | sort -n -r | head -n 5