From owner-freebsd-newbies Fri Feb 25 19:17:47 2000 Delivered-To: freebsd-newbies@freebsd.org Received: from cx344940-a.meta1.la.home.com (cx344940-a.meta1.la.home.com [24.6.21.74]) by hub.freebsd.org (Postfix) with ESMTP id C84E237BD43 for ; Fri, 25 Feb 2000 19:17:43 -0800 (PST) (envelope-from conrads@cx344940-a.meta1.la.home.com) Received: (from conrads@localhost) by cx344940-a.meta1.la.home.com (8.9.3/8.9.2) id VAA01503; Fri, 25 Feb 2000 21:17:35 -0600 (CST) (envelope-from conrads) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <38B6932E.6AD5E30@adelphia.net> Date: Fri, 25 Feb 2000 21:17:35 -0600 (CST) Organization: @Home Network From: Conrad Sabatier To: Spencer Plantier Subject: RE: tcpdump Cc: freebsd-newbies@FreeBSD.ORG Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 25-Feb-00 Spencer Plantier wrote: > Where do I find TCP dump for Freebsd? If the directory where tcpdump is located happens to be in your PATH, then "whereis tcpdump" or "which tcpdump" will provide the answer. If it's not in your PATH, then you might try "locate tcpdump" (assuming you have an up-to-date locate database). Then, of course, there's always good old reliable "find". Not the quickest way, but sure to do the job: find /usr -name tcpdump -type f -print We start searching at the top of the /usr directory in this example, as it's most likely to be somewhere under /usr. We also use the "-type f" option to tell find only to list regular files, not directories, in its search results (so you won't find, say, the source code directory for tcpdump, if you have the sources installed). If you're *really* unsure where it may be, then start the search at the root directory: find / -name tcpdump -type f -print Some man pages will also show where a program is located, but this is not consistently done. -- Conrad Sabatier http://members.home.net/conrads/ ICQ# 1147270 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message