If you want to know how much disk space you have on your Ubuntu server or computer, just type:

df -Th

That will give you the total amount of disk space, available disk space, and used disk space on your Ubuntu computer or server.

The output will be formatted nicely to display GB because of the -Th option.

This command doesn't only work with Ubuntu. The df command is available on most Linux distributions.


Comments (0)

No comments found!

Write new comment