How do you delete logs?

Asked by t.z0n3

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

Language:
English Edit question
Status:
Solved
For:
Ubuntu gaim Edit question
Assignee:
No assignee Edit question
Solved by:
David Portwood
Solved:
Last query:
Last reply:
Revision history for this message
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,

Revision history for this message
t.z0n3 (soccerluvrster) said :
#2

Thanks David Portwood, that solved my question.