how to check free space on ubuntu terminal code example
Example 1: see total space available in shell
df -hx squashfs --total
Example 2: check disk space ubuntu from terminal
#report file system disk space usage
df -h
or
sudo du -sh ./*
or
du -h -s *
#check space with path
df / -h
or
df -h /
#check space with type
df -Th