linux disk full code example
Example 1: bash how to check free disk space in Linux
# Basic syntax:
df -h
# Where the -h flag ensures a "human readable" format
Example 2: linux disk usage
#sudo apt-get install ncdu
sudo ncdu -rx /
# -r = read-only
# -x = do not traverse mounts