How do you delete logs?

Asked by t.z0n3 on 2007-10-19

I need to delete some logs, because (REALLY) I'm hurting for space (but I have over a few gigs worth of logs). How do you delete them?

Question information

English Edit question
Ubuntu gaim Edit question
No assignee Edit question
Solved by:
David Portwood
Last query:
Last reply:
Best David Portwood (dzportwood) said : #1

In a terminal if your using gaim 'rm -rf ~/.gaim/logs/*', if your using pidgin 'rm -rf ~/.purple/logs/*'
If you want to cleanup some of your systems normal logs, 'cd /var/log', and you can safely delete anything that has a trailing .gz, so from within that directory, 'sudo rm *.gz'. Some other ways to free up some space, 'sudo apt-get auto-remove', 'sudo apt-get autoclean', 'sudo apt-get clean'.
Thanks, if this solves your problem could you please mark it solved.
David P,

t.z0n3 (soccerluvrster) said : #2

Thanks David Portwood, that solved my question.