help with tcpdump cmd syntax
freebsd-listen at fabiankeil.de
Sat Apr 8 13:11:02 UTC 2006
"fbsd_user" <fbsd_user at a1poweruser.com> wrote:
> I tried
> tcpdump -i rl0 src host 22.214.171.124 -w /usr/tcpdump.data
> tcpdump -i rl0 host 126.96.36.199 -w /usr/tcpdump.data
> tcpdump -i rl0 src ip 188.8.131.52 -w /usr/tcpdump.data
> but got syntax error msg with no hint of what was wrong
> If I remove the -w stuff it works. Meaning it prints to the screen.
> But I want to write to file
> Can you help me out here on the syntax error?
According to the man page the expression comes last.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060408/4dd450dc/signature.pgp
More information about the freebsd-questions