[Nelug] finding files
Steven
Babylon722 at EpsilonEridani.freeserve.co.uk
Wed Aug 20 19:12:00 UTC 2003
No man pages installed on my server (trustix secure server) unfortunatly!
Knew about the find command but find --help was rather cryptic!
Thankx
----- Original Message -----
From: "Andrew Hatch" <andrew.hatch at bluespace.com>
To: <nelug at mailman.lug.org.uk>
Sent: Wednesday, August 20, 2003 7:06 PM
Subject: RE: [Nelug] finding files
> > Is there a command to recursivly search all folders on a system for a
file
> > called "index.html"
> > and output results to the screen.
>
> There is, and it's called 'find'. Its often installed by default (RedHat
> and Debian usually do). Do a 'man find' in order to see all the options,
> but you probably want to do something like:
>
> find /some/path -iname index.html
>
> e.g:
>
> find /var/www -iname index.html
>
> which will return, e.g:
>
> /var/www/index.html
> /var/www/subdir/index.html
> ...
>
> for each index.html it finds.
>
> HTH,
>
> Andrew
>
>
> _______________________________________________
> Nelug mailing list
> Nelug at mailman.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/nelug
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 19/08/2003
More information about the Nelug
mailing list