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