Is there a way to quickly check the amount of free / used disk space in Ubuntu?
I would assume you could right click on 'file system' in the file browser and choose 'properties' or something but there is no such option.
|
Is there a way to quickly check the amount of free / used disk space in Ubuntu? I would assume you could right click on 'file system' in the file browser and choose 'properties' or something but there is no such option. |
||||
|
|
|
Open System Monitor from Dash and select the Filesystems tab.
Or alternatively open a Terminal and type:
|
|||||||||||||||||||||
|
|
Other useful utilities are |
|||||
|
|
You can use Baobab is also called Here's a sample screenshot of
For a command line option, I prefer to use
You can drill into sub-folders to get total relative disk usage on the sub-folders. It's turtles all the way down. More nifty than |
|||||||||||||||||||||
|
|
If like me all you need is the total of disk space used then just use the following command.
Here's a sample output with the total shown at the end
Cheers! P.S. I wrote a post about it — How Do I Find the Amount of Free Space on My Hard Drive with Command Line? |
||||
|
|
|
Free/used disk space is always related to a partition First you need to decide which partition you are interested in.
In my case I am interested in the Now I use this command to see which files and directories contain the most bytes:
Above command can take some time. If you are really unlucky the result is too big for Here are the first lines of my result:
Why is |
||||
|
|
|
There are a number of ways to do this.
|
|||
|
|
|
Another way! Right click on computer in Nautilus (file explorer) and click properties. It displays how much free and used space is on your hard drive. |
|||
|
|
|
Using Type this on your terminal to enable the status bar by default
Type this on your terminal to disable the status bar by default
After that you will have the statusbar opened by default on Nautilus, no need to run anything else. |
|||
|
|
|
I wrote a little hack for this with a command line and gui version. It's rather hard-coded, so may need some tweaks. Also, the gui version appears to use a proportional font that messes up the alignment of the displayed output. These scripts could be put in your path somewhere (like in $HOME/bin) and you can create an icon for the gui script on your desktop or panel.
Sample output:
Gui version:
New Gui Version with fonts fixed using yad
|
||||
|
|
|
In 1- 2-
|
|||
|
|
|
Simply you can find available free space using free command .. Here you can get clear explanation about free command usage |
||||
|
|
|
There's df information all over the net, but I like output that's simple and easy to read. If you run
the bottom line in the output will give you exactly how much is left in your system, as well as how much is used etc. The other option is to use
which will show it in one line as
All of this in gigabytes. I mapped this to a shell command You can even write little shell commands that will monitor it and alert you if you get too low etc. |
||||
|
|
|
You could also use for the most comprehensive health status information about your hard drive: It could require |
|||||
|