advanced code snippet search
noah on 11/05/07
regex Bash html commandline filter apache request log perl debugging tail one-liners
2 people have marked this snippet as a favorite
This command will tail an Apache access log, but only print lines where an HTML file was requested.
tail -f access.log|grep -P "GET[^\"]*.html"
Report this snippet
You need to login to post a comment.