...I just stole the name from David Letterman's "stupid pet tricks". I hope these tips help you avoid or fix mistakes along the way in your *nix administration duties.
Saturday, May 10, 2008
Remove all files older than some-number-of-days
Be careful with this...make sure you don't run it on an operating system directory!
Remove all regular files from /app/logs older than 10 days:
Do you remember the classic systems pictured below? Perhaps you get the cold sweats looking at them. They are the systems that were "hot" just when the Internet was getting hot, too.
Sun SPARC 20
The original pizza box. In my case, it served up files and NIS for 100 engineers.
HP/Compaq DL580
Forget windows...load it with Red Hat Enterprise Linux for a screamin' performer.
IBM RS/6000 F50
UNIX/AIX from Big Blue. Get out your book of boot codes.
Sun Ultra Enterprise 450
The dorm refrigerator! How many HTML pages did this serve in 1999?
1 comment:
thanks!
Post a Comment