Deleting old logfiles

Menù di navigazione
  • Home
  • Contacts
HOME | Index |

Deleting old logfiles

Deleting old logfiles

The question is always the same: How to delete those annoying old logfiles from your sites? And maybe how to do it with an all in one process?

The answer is very, very simple.

First go to the server's home of sites:

cd /home/sites

Then type the following

rm -r */logs/2004
rm -r */logs/2005
rm -r */logs/2006

That's done!

Labs
  • CentOS + BlueQuartz
  • Installing Spamassassin ClamAv and Mailscanner on Bluequartz
  • SARE Rules & RulesDuJour
  • Installing MRTG
  • Mass Change IP
  • CCED problems
  • Deleting old logfiles
  • POP3 problems
  • Recalculate Quotas
  • How to block an IP address
  • NAMED and DNS
  • PHP
  • Enabling safe mode per-directory
  • Howto install php4 & php5 on Apache2
  • Linux
  • Automating Mysql backups
  • Restoring MySQL dumps
  • Replacing Text In Files
  • Firefox and flash on x86_64
  • Find user's files
  • Lines of code
  • Vsftp with virtual users
  • MSN
  • RandomCase

Home | Contacts | E.R.WEB Official Site