ubuntu get disk space used by folder code example Example: check ubuntu disk space # shows total, available, and used. df / -h