From owner-freebsd-questions Tue Feb 19 19:29: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.tgd.net (mail.tgd.net [209.81.25.10]) by hub.freebsd.org (Postfix) with ESMTP id E1A5237B402 for ; Tue, 19 Feb 2002 19:28:52 -0800 (PST) Received: by mail.tgd.net (Postfix, from userid 1001) id B134D20F05; Tue, 19 Feb 2002 19:28:52 -0800 (PST) Date: Tue, 19 Feb 2002 19:28:52 -0800 From: Sean Chittenden To: Posthuman Cc: questions@freebsd.org Subject: Re: file in a system. Message-ID: <20020219192852.F29935@ninja1.internal> References: <000c01c1b9ba$3d41e9b0$0abf7842@posthuman> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <000c01c1b9ba$3d41e9b0$0abf7842@posthuman>; from "posthuman@sbcglobal.net" on Tue, Feb 19, 2002 at = 06:56:44PM X-PGP-Key: 0x1EDDFAAD X-PGP-Fingerprint: C665 A17F 9A56 286C 5CFB 1DEA 9F4F 5CEF 1EDD FAAD X-Web-Homepage: http://sean.chittenden.org/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I've been browsing thru the man pages in order to locate "command + > arguments" on how I can locate a certain file in the system if am not > sure where it is. I stopped at "wc" "grep" "whereis" but I didn't get > any results. My question is how can I list all *.log files on my system > + the path for everyone, regardless of their location. If can give an > example I will be grateful. Thanks in advance. locate '*.log' Make sure you locatedb is up to date. A weekly script gets run to keep the DB in sync, /etc/periodic/weekly/310.updatedb. Feel free to run this whenever you feel your locate commands are no longer accurate. -sc -- Sean Chittenden To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message