  | |  | Sending tcpdump grep-ed output to file | Sending tcpdump grep-ed output to file 2004-01-14 - By Pete Nesbitt
Back On January 14, 2004 08:00 am, 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
>
> What might be the problem? I am at loss here...
>
> 10ks in advance
Hi,
I don 't see anything wrong unless there is no output at the time you create
the file. Is it created and empty or just not created?
Try using 'tee ' to send output to std out & a file.
--
Pete Nesbitt, rhce
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
|
|
 |