linux show disk usage code example
Example 1: linux disk usage
#sudo apt-get install ncdu
sudo ncdu -rx /
# -r = read-only
# -x = do not traverse mounts
Example 2: linux show file line size
wc -l myfile.txt
#sudo apt-get install ncdu
sudo ncdu -rx /
# -r = read-only
# -x = do not traverse mounts
wc -l myfile.txt