Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Ubuntu - How to free up disk space

Reply
Thread Tools Display Modes

Ubuntu - How to free up disk space

 
 
Spanky Da Measekite
Guest
Posts: n/a

 
      04-19-2009
This is exactly why NOBODY wants to use that piece of Crap Ubuntu. Who in
their right minds wants to run cryptic commands?


I Am Running Out of Disk Space-How Do I Free Up Some Space?
If you are concerned you may be running out of disk space, there are a few
techniques that you can use to clear some room. Before you do anything you
should get a report of how much disk space is available. Load up a terminal,
and run the following command:

foo@bar:~$ df -h
The df command prints a listing of the free space on your disk. By passing
it the -h option, more readable file sizes are displayed (e.g., 9.5G as
opposed to 9887776). In addition to the file size, a percentage of how much
space is left is displayed. If the line with / in the Mounted On column is
nearing 100 percent, you need to clear some room. The / partition is where
most of the software is installed.

The first thing you should do is to clean out your package cache. Every time
a package is downloaded with Synaptic or with the automatic upgrade manager,
it is stored in /var/cache/apt/archives/. You can clean out these packages
without affecting your system. Just run the following command:

foo@bar:~$ sudo apt-get clean
With the package cache cleaned, you should now look for the largest
directories on your system. This is where the command line can really come
into its own. Run the following command:

foo@bar:~$ du -h /home | sort -nr | less
The du command lists disk usage for the /home directory (where users store
their files). Again, the -h option makes the sizes more readable. The output
of this command is fed into sort which organizes the output numerically (-n)
and reverses the order (-r) to display the largest files first. Finally, the
output is fed into less, which lets you scroll up and down through the
listing.

Find the largest directories, and remove any unwanted files by either using
the graphical file manager or the rm command.


 
Reply With Quote
 
 
 
 
Alias
Guest
Posts: n/a

 
      04-19-2009
Spanky Da Measekite wrote:
> This is exactly why NOBODY wants to use that piece of Crap Ubuntu. Who in
> their right minds wants to run cryptic commands?
>
>
> I Am Running Out of Disk Space-How Do I Free Up Some Space?
> If you are concerned you may be running out of disk space, there are a few
> techniques that you can use to clear some room. Before you do anything you
> should get a report of how much disk space is available. Load up a terminal,
> and run the following command:
>
> foo@bar:~$ df -h
> The df command prints a listing of the free space on your disk. By passing
> it the -h option, more readable file sizes are displayed (e.g., 9.5G as
> opposed to 9887776). In addition to the file size, a percentage of how much
> space is left is displayed. If the line with / in the Mounted On column is
> nearing 100 percent, you need to clear some room. The / partition is where
> most of the software is installed.
>
> The first thing you should do is to clean out your package cache. Every time
> a package is downloaded with Synaptic or with the automatic upgrade manager,
> it is stored in /var/cache/apt/archives/. You can clean out these packages
> without affecting your system. Just run the following command:
>
> foo@bar:~$ sudo apt-get clean
> With the package cache cleaned, you should now look for the largest
> directories on your system. This is where the command line can really come
> into its own. Run the following command:
>
> foo@bar:~$ du -h /home | sort -nr | less
> The du command lists disk usage for the /home directory (where users store
> their files). Again, the -h option makes the sizes more readable. The output
> of this command is fed into sort which organizes the output numerically (-n)
> and reverses the order (-r) to display the largest files first. Finally, the
> output is fed into less, which lets you scroll up and down through the
> listing.
>
> Find the largest directories, and remove any unwanted files by either using
> the graphical file manager or the rm command.
>
>


All of the above can be handled with a GUI. This post is more evidence
that you don't know anything about Ubuntu.

Alias
 
Reply With Quote
 
Francis
Guest
Posts: n/a

 
      04-19-2009
I don't understand that why author didn't go to the linux board....


"Spanky Da Measekite" <> wrote in message
news:FlvGl.14830$...
> This is exactly why NOBODY wants to use that piece of Crap Ubuntu. Who in
> their right minds wants to run cryptic commands?
>
>
> I Am Running Out of Disk Space-How Do I Free Up Some Space?
> If you are concerned you may be running out of disk space, there are a few
> techniques that you can use to clear some room. Before you do anything you
> should get a report of how much disk space is available. Load up a
> terminal, and run the following command:
>
> foo@bar:~$ df -h
> The df command prints a listing of the free space on your disk. By passing
> it the -h option, more readable file sizes are displayed (e.g., 9.5G as
> opposed to 9887776). In addition to the file size, a percentage of how
> much space is left is displayed. If the line with / in the Mounted On
> column is nearing 100 percent, you need to clear some room. The /
> partition is where most of the software is installed.
>
> The first thing you should do is to clean out your package cache. Every
> time a package is downloaded with Synaptic or with the automatic upgrade
> manager, it is stored in /var/cache/apt/archives/. You can clean out these
> packages without affecting your system. Just run the following command:
>
> foo@bar:~$ sudo apt-get clean
> With the package cache cleaned, you should now look for the largest
> directories on your system. This is where the command line can really come
> into its own. Run the following command:
>
> foo@bar:~$ du -h /home | sort -nr | less
> The du command lists disk usage for the /home directory (where users store
> their files). Again, the -h option makes the sizes more readable. The
> output of this command is fed into sort which organizes the output
> numerically (-n) and reverses the order (-r) to display the largest files
> first. Finally, the output is fed into less, which lets you scroll up and
> down through the listing.
>
> Find the largest directories, and remove any unwanted files by either
> using the graphical file manager or the rm command.
>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Misreported Used/Free Disk Space Shade_C Windows Vista General Discussion 3 04-17-2008 12:11 PM
SP1 CREATES Free Disk Space! Frankster Windows Vista General Discussion 7 03-27-2008 04:47 AM
Free Up disk space forty-nine Windows Vista General Discussion 1 01-26-2008 04:29 AM
Out of disk space error at installations, though 100 Gb free space Evagoud Windows Vista General Discussion 5 11-04-2007 07:48 AM
disk free space anomaly dave4503 Windows Vista Performance 2 06-15-2006 10:54 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59