This question already has an answer here:
- Piping from grep to awk not working 3 answers
All I wanted is to grep for specific lines in an ongoing log and re-direct it to some file..
tailf log | grep "some words"
Now, I want the above command output to get re-directed to some file in on-going basis....
tailf log | grep "some words" >> file
But that doesn't seem to work. What am I missing?