What is the command to find out how much disk space is being used/remaining?
Ubuntu – How to find out how much disk space is remaining
command linediskdisk-usageserver
command linediskdisk-usageserver
What is the command to find out how much disk space is being used/remaining?
Best Answer
You can use two commands:
df
anddu
.df
- report file system disk space usageUsage works like such:
Which should output something like this:
The
-h
flag provides human readable output (which makes reading of the output - easier).du
- estimate file space usageA second tool is with
du
which is a slower approach but will give you a better break down of a per directory. Information on that can be found in How to determine where the biggest files/directories on my system are stored?