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