.: Unix Log Files Top Related Articles

1). Log File UNIX Commands
One of the biggest parts of my job is managing website log files. Our business is very “marketing-centric”, so missing log file data isn’t expectable. There have been a few situations were log files have been split or broken. Below are three nice little commands which have helped tremendously. Removes all log files with no data find /home/httpd/logs -size 0 -type f -print0 | xargs -0 rm –f This is a simple little command which helps keep things neat and organized.
Article tags: unix commands, log file management, unix log files, apache management, log management, sed command, cat command

Page loaded in 0.283 seconds.