Chris Devers wrote:
If you don't have the `locate` database on your system, you're going to
have to walk the while filesystem, using something like `find`. Here's
one way to do it, but it will be very, very, very slow:
> $ find / -type f | grep -v '/.*/.*/.*/.*/'
^^^^^^^^^^^^^^^^^^^^^^
Ick! Better to use the -maxdepth switch (if it is available.)
$ find / -type f -maxdepth 4
John
--
use Perl;
program
fulfillment
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>