multiple pipes and tail -f
- From: pvsnmp@xxxxxxxxx
- Date: Wed, 22 Aug 2007 07:57:39 -0700
Hi,
I have been trying to do the following but it doesn't seem to work.
tail -f <filename> | grep <some string> | grep <some other string>
where <filename> is the name of any file to which new lines are added,
something like a log file for example.
Is there some restriction on the number of pipes which could be used
while using tail -f ?
I would like use sed instead of the last grep in the example above,
but for simplicity I have used second grep.
Thanks and Regards,
Prashant
.
- Follow-Ups:
- Re: multiple pipes and tail -f
- From: Pipe Dope
- Re: multiple pipes and tail -f
- From: Ivan Gotovchits
- Re: multiple pipes and tail -f
- Prev by Date: Re: How to temporarily disable the keyboard
- Next by Date: Re: multiple pipes and tail -f
- Previous by thread: check memory protection
- Next by thread: Re: multiple pipes and tail -f
- Index(es):
Relevant Pages
|