Tuxicity's source

March 8, 2007

Ubuntu Basics: Analyzing disk usage

Filed under: Tuxicity, Ubuntu — tuxicity @ 6:31 pm

How much space is left on my hard drive? A common question and very easy to solve in Linux.

On the CLI to see how much space is left use this command:

df -h

Df analyzes your disk.

The -h flag stands for human readable, meaning you get an easy to read and understand result.

Df is part of the coreutils package which is installed by default.

“df – – help”, gives you other options on usage but my example is the most common way on the CLI to check your disk space with df.

Nicer is it to analyze your disk with some easy to understand colorful graphics.

For this you need to install gnome-utils, which is available in the main repository of Ubuntu and is not installed by default.

sudo apt-get install gnome-utils

Go in your menu to Applications > Accessories > Disk Usage analizer.

This will start up Baobab, a graphic disk usage analizer which is part of the gnome-utils package.

Now, to try it click the “Scan Home Folder button” and you will see on the right side a diagram appear. Every folder has its own color, and when you hover over it with the mouse cursor, it will tell you the name of the folders and the size of it

Very neat, and very easy to use.

Try it and check it out.

Tuxicity.

2 Comments »

  1. This was useful, but Baobab doesn’t appear to me to be part of Gnome-Utils. I had to install it separately.

    Comment by visctrix — April 7, 2007 @ 6:46 pm

  2. Baobab must now be part of gnome-utils in Ubuntu, now – It was already installed – I just typed ‘baobab’ in a terminal window and it ran.

    Comment by Cliff Miller — September 18, 2008 @ 6:10 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: