filesize directory linux code example
Example 1: how to get the size of directory in linux
du -sh /var
Example 2: see how large a directory is linux
# du -a /home | sort -n -r | head -n 5
du -sh /var
# du -a /home | sort -n -r | head -n 5