how to see how much hard drive space free and used ubuntu code example Example: check ubuntu disk space # shows total, available, and used. df / -h