how to check hard disk space in linux code example
Example 1: see total space available in shell
df -hx squashfs --total
Example 2: linux check used space in folder
du -h --max-depth=1
df -hx squashfs --total
du -h --max-depth=1