  | |  | Sending tcpdump grep-ed output to file | Sending tcpdump grep-ed output to file 2004-01-14 - By Jason Dixon
Back On Wed, 2004-01-14 at 11:00, crucificator wrote:
> I want to use grep to filter output of tcpdump file. So I use smth like:
>
> tcpdump host <host > -l | grep "string " >dump.txt
> Although the command without >dump.txt sends output to screen as
> intended I do not get content in dump.txt
Because you 're buffering the output with "-l ". Stop using that when you
want to redirect to a file.
--
Jason Dixon, RHCE
DixonGroup Consulting
http://www.dixongroup.net
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
|
|
 |