Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Apr 2006 15:10:59 +0200
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        fbsd_user@a1poweruser.com
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: help with tcpdump cmd syntax
Message-ID:  <20060408151059.447abca0@localhost>
In-Reply-To: <MIEPLLIBMLEEABPDBIEGCEGEHEAA.fbsd_user@a1poweruser.com>
References:  <4435ADF5.4020102@vonostingroup.com> <MIEPLLIBMLEEABPDBIEGCEGEHEAA.fbsd_user@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_k2BrcznaKxSFZ6yuY_lV=5E
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

"fbsd_user" <fbsd_user@a1poweruser.com> wrote:

> I tried=20
>    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 =20
>=20
> but got syntax error msg with no hint of what was wrong
>=20
> If I remove the -w stuff it works. Meaning it prints to the screen.
> But I want to write to file
>=20
> Can you help me out here on the syntax error?

According to the man page the expression comes last.

Fabian
--=20
http://www.fabiankeil.de/

--Sig_k2BrcznaKxSFZ6yuY_lV=5E
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFEN7ZjjV8GA4rMKUQRArKlAJ96Id2OR8W23VhiFI/tGKPJxGfBogCgqeNp
+COm+YkojeWomxuUyx9P4HU=
=73hz
-----END PGP SIGNATURE-----

--Sig_k2BrcznaKxSFZ6yuY_lV=5E--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060408151059.447abca0>