saving output from FIFO?
Hello, i have a little problem, i have to filter the incoming text from a FIFO, and save it to a file, so i do:
Code:
root@linux-it:/path/to/fifos# cat debug.fifo | grep -v traffic > file Code:
root@linux-it:/path/to/fifos# cat debug.fifo | grep -v traffic and if i execute: Code:
root@linux-it:/path/to/fifos# cat debug.fifo > file (im sure this is a pretty stupid problem, but i dont know how to solve it...) thanks! EDIT: It's an issue with the '-v' option, if i exec Code:
cat debug.fifo | grep Permit > file |
All times are GMT -5. The time now is 10:26 PM. |