How to check the how much disk space you have left using the command line in Linux

No Comments
  • Knowledge Base
  • Linux
  • How to check the how much disk space you have left using the command line in Linux

In the Command Line type in the following command: df -h and press enter.

Results will look similar to the below.

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda7              74G   36G   35G  51% /


Explanation of command
:

df = report file system disk space usage
-h = print sizes in human readable format (e.g., 1K 234M 2G)

Image Credits: Photo by Isis França on Unsplash.

Related Articles

No results found

Leave a Reply

avatar
  Subscribe  
Notify of
Menu
Copy link