Date: Tue, 19 Feb 2002 19:28:52 -0800 From: Sean Chittenden <sean@chittenden.org> To: Posthuman <posthuman@sbcglobal.net> Cc: questions@freebsd.org Subject: Re: file in a system. Message-ID: <20020219192852.F29935@ninja1.internal> In-Reply-To: <000c01c1b9ba$3d41e9b0$0abf7842@posthuman>; from "posthuman@sbcglobal.net" on Tue, Feb 19, 2002 at = 06:56:44PM References: <000c01c1b9ba$3d41e9b0$0abf7842@posthuman>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020219192852.F29935>