how to check space occupied by directory in linux code example
Example 1: linux check used space in folder
du -h --max-depth=1
Example 2: show directory size linux
du -sh /home/george
2.1G /home/george
Example 3: check directory size
du -sh /home/george