view total disk usage linux code example
Example 1: check folder sizes linux
du -h --max-depth=1
Example 2: shell get size of directory
du -h your_directory
# gives you the size of your target directory.
du -hcs your_directory
# If you want a brief output.