view disk usage linux code example
Example 1: check folder sizes linux
du -h --max-depth=1
Example 2: check ubuntu disk space
# shows total, available, and used.
df / -h
du -h --max-depth=1
# shows total, available, and used.
df / -h