get folder size centos code example Example: see how large a directory is linux # du -a /home | sort -n -r | head -n 5