/ Linux

Previous Article

Viewing Disk space remaining in Linux Command Line

Next Article

If, like me, you run a command line Linux distro then seeing useful stats like disk space remaining on your hard drive is a must. To see the current hard drive usage of all mounted partitions simply type the following command into a terminal.

df -h

You should see something similiar to the image below.

The -h simply puts the drive space into human readable format eg. 10K, 45G, 1.1T.

There are other options available for the df command but nothing else that needs covering in this post.

If you have other/better ways of getting the same information in Linux command line then please feel free to comment below.

Avatar of Clive Walkden

Clive Walkden

Latest Articles


Output All Users Cron Jobs

If you want to check all users cron jobs this little command will output them to the command line

Magento 2

Magento 2 admin password history reset

Do you want to clear the password history on your staging test site (not recommended for live)?


How to see files changed on a certain date

As a sysadmin you often need to see which files have been modified on a certain date.