pesarif wrote: > Hello, > > My /var/log folder is getting fairly big (10 MB) and its growing quickly > (this computer has only 660MB for Linux :( ). > > My question is: is it safe to regularly delete logs (using just the rm > command) or is there a "correct" way to do it? > > Surely, there is a special program to do this (that's more user-friendly than > logrotate)? >
Sure, you can create a cron job run every day to delete them: for example man crontab rm -rf /var/log/cron* echo "" > /var/log/cron rm -rf /var/log/messages.* echo "" > /var/log/messages .... -- Takeshi's small space http://donganh16.tk/ Join KDE-i18n-Vi? http://vi.i18n.kde.org VYSA: http://vysasports.vngate.net/ Vietlug: http://vietlug.sourceforge.net
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
