see disk usage terminal linux code example Example 1: see total space available in shell Click to copydf -hx squashfs --total Example 2: linux check used space in folder Click to copydu -h --max-depth=1