help with tcpdump cmd syntax
Fabian Keil
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 218.166.163.180 -w /usr/tcpdump.data
> tcpdump -i rl0 host 218.166.163.180 -w /usr/tcpdump.data
> tcpdump -i rl0 src ip 218.166.163.180 -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.
Fabian
--
http://www.fabiankeil.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
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
mailing list