I know I am able to search for particular keywords in my Apache error_log file by using the grep command:
# grep "favicon.ico" error_log
I am curious though if it is possible to delete/remove any and all lines which contain specific keywords from a file.
I know this won't work but the idea is:
rm -r -f grep "favicon.ico" error_log