Results 1 to 1 of 1
Thread: Filtering "tail -f"s output.
Apr 25, 2005, 09:05 #1
- Join Date
- Mar 2002
- Miami, Florida - Caracas, Venezuela
- 0 Post(s)
- 0 Thread(s)
Filtering "tail -f"s output.
Can the output of "tail -f" be filtered so I only see what my regular expression matches?
I'm tailing one of apache's error logs for a busy site but want to see requests from a certain IP or to a certain script but doing:
tail -f <file> | grep <regexp>