Find the answer to your Linux question:
Results 1 to 3 of 3
I dont have a HDD so i run ubuntu from a 2GB pen drive. in that 2 GB pen drive i have made 2 partitions of 1.04 GB & 850MB. ...
  1. #1
    Just Joined!
    Join Date
    Mar 2009
    Posts
    89

    Arrow [SOLVED] clear unnecessary systemfiles eating up my drive space

    I dont have a HDD so i run ubuntu from a 2GB pen drive. in that 2 GB pen drive i have made 2 partitions of 1.04 GB & 850MB. The 1.04 GB is used by me as my booting space while i store files in my 850MB.
    now i have installed video & audio codecs in it also. i have also included in it CHM viewer
    the problem that is standing for me is when ubuntu boots up it is eating up 2 MB of space each time due to which after 20 or 30 boots the boot process becomes very slow & i have to reinstall the OS & everything all over again. now i have to clear this space taken up by unnecessary file.
    how do i do it??
    only terminal commands are invited.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Execute this to clean cache :
    Code:
    sudo apt-get clean all
    Execute this to remove log messages :
    Code:
    cd /var/log
    sudo rm -f messages.*
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Mar 2009
    Posts
    89
    Quote Originally Posted by devils casper View Post
    Execute this to clean cache :
    Code:
    sudo apt-get clean all
    Execute this to remove log messages :
    Code:
    cd /var/log
    sudo rm -f messages.*
    Problem solved

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...