Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

For example, does it exist a terminal command i can use to "clean" the pc from time to time? To definitely delete old kernels and packages, for example... And when/how i can run it?

Thank you!

share|improve this question
1  
What do you mean by "clean the pc"? please be more specific. –  hmayag May 26 '13 at 21:42
1  
try sudo apt-get autoremove –  Nil May 26 '13 at 21:42
    
For "cleaning the PC" I mean something to do from time to time, to definitely delete old packages or old kernel... an operation to free some more space on the disk and most of all to speed up the machine. –  Simone May 30 '13 at 11:46
add comment

closed as not a real question by Alvar, Thomas W., Eric Carvalho, Basharat Sial, user68186 May 27 '13 at 2:46

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers

take a look at the following page: http://ss64.com/bash/

All the Terminal commands explained

share|improve this answer
add comment

You can always install bleachbit from the software center or just use sudo apt-get install bleachbit

You can set it up for command line use as outlined on the Bleachbit SourceForge page I am pasting it in in case it disappears..

> I moved the topic here from the forum at
> http://sourceforge.net/projects/bleachbit/forums/forum/899127/topic/3270445
> andrewziem wrote: /quote Regarding "bleachbit --user xyz" you can try
> this command HOME=/home/bob sudo bob bleachbit.py --delete
> firefox.cache When run as root, that changes the HOME variable to
> /home/bob, changes to the user bob, and runs the command. /endquote
> Thanks for the suggestion. I hadn't got round to trying out the CLI
> until now. I set up a shell script as follows: HOME=/home/xyz/ cd
> $HOME bleachbit --delete evolution.cache
share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.