Sending tcpdump grep-ed output to file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux