disk usage per directory code example
Example 1: linux how to know whhich directory used more soace
$ du -h --max-depth=1 | sort -hr
Example 2: linux check used space in folder
du -h --max-depth=1
$ du -h --max-depth=1 | sort -hr
du -h --max-depth=1