/ 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 similar to the image below.

CLI Output from df -h command in Linux

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

Linux command line tools, installations etc


Terraform Installation

A quick installation guide for Terraform on Ubuntu 18.04

Bitcoin - Cryptocurrency not just for geeks


RollerCoin Intro

An introduction to the RollerCoin site and how you can use it to mine your own coins

Magento 2 Blog Posts

Magento 2

Magento 2.4.x Writing to a Log File

How to log to information to a file in different Magento 2.4.x versions