#!/bin/sh # this is just an example #tail -f /var/log/httpd/error_log tail -f /var/log/httpd/ssl_error_log | sed 's/^.\+0.41\]\|\, referer.\+\.cgi\|\?rm=\w\+//g' # or just # tail -f /var/log/httpd/error_log