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