help with tcpdump cmd syntax

Fabian Keil freebsd-listen at
Sat Apr 8 13:11:02 UTC 2006

"fbsd_user" <fbsd_user at> wrote:

> I tried 
>    tcpdump -i rl0 src host -w /usr/
>    tcpdump -i rl0 host -w /usr/
>    tcpdump -i rl0 src ip -w /usr/  
> 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...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list