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....
I tried,
tailf log | grep "some words" >> file
But that doesn't seem to work. What am I missing?