size of folder in mb linux code example
Example 1: linux how to know whhich directory used more soace
$ du -h --max-depth=1 | sort -hr
Example 2: show directory size linux
du -sh /home/george
2.1G /home/george
$ du -h --max-depth=1 | sort -hr
du -sh /home/george
2.1G /home/george