From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.back-rdu.redhat.com (8.11.6/8.11.6) with ESMTP id hBCIHjR01668 for ; Fri, 12 Dec 2003 13:17:45 -0500 Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id hBCIOw223068 for blinux-list@listman.back-rdu.redhat.com; Fri, 12 Dec 2003 13:24:58 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id hBCIOw223064 for ; Fri, 12 Dec 2003 13:24:58 -0500 Received: from zima.linwin.com (zima.linwin.com [198.144.208.138]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id hBCIOv221982 for ; Fri, 12 Dec 2003 13:24:57 -0500 Received: from raffi by zima.linwin.com with local (SMTP Exim) id 1AUryF-0003OO-Ff for blinux-list@redhat.com; Fri, 12 Dec 2003 10:24:59 -0800 Date: Fri, 12 Dec 2003 10:24:59 -0800 From: Rafael Skodlar To: blinux-list@redhat.com Subject: Re: Probably stupid question Message-ID: <20031212182459.GB12238@linwin.com> References: <026201c3c0d3$a2045050$0200000a@tom> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <026201c3c0d3$a2045050$0200000a@tom> User-Agent: Mutt/1.3.28i X-Loop: blinux-list@redhat.com Sender: blinux-list-admin@redhat.com Errors-To: blinux-list-admin@redhat.com X-BeenThere: blinux-list@redhat.com X-Mailman-Version: 2.0.13 Precedence: junk Reply-To: blinux-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux for blind general discussion List-Unsubscribe: , List-Archive: Hi Tom, The following assumes you do know which tree the "unknown directory" is under. find /somedir -name filename -ls or find /somedir -name filename -print to get two different ways of file or directory information. It should be easy to find a file unless your system is a mess of directories. Some people sugested to use locate but that won't show files created after a utility slocate is run by a cron job. Of course you can run slocate manualy to update the database before using locate. On Fri, Dec 12, 2003 at 09:16:06AM -0800, Tom Masterson wrote: > I am trying to find one or more files in an unknown directory. The question is what command can I use to do this. I know some files with the given extension exist but I need to know if there are more in a different location and so far I haven't found any command that will tell me this. > > Tom -- Rafael