Posted By

noah on 11/05/07


regex Bash html commandline filter apache request log perl debugging tail one-liners

Versions (?)

Who likes this?

2 people have marked this snippet as a favorite


Tail requests for HTML files

 / Published in: Bash

This command will tail an Apache access log, but only print lines where an HTML file was requested.

  1. tail -f access.log|grep -P "GET[^\"]*.html"

Report this snippet  

You need to login to post a comment.