Recursive Searches

Marco A. Ramos mramos at sanyoval.net
Thu Oct 14 19:29:39 UTC 2004


I'm not sure what do you want to do, but you can try:


locate .php (if not work try befoure slocate -u to charga de locate data
base, and then try again)

Other option is:

find /* |grep -i .php

Both will list all files or directories with .php.

-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com]On Behalf Of Cutts III, James H.
Sent: Thursday, 14 October, 2004 9:47 AM
To: General Red Hat Linux discussion list
Subject: Recursive Searches


I'm trying to get Recursive searches working on my RH9 box.

Recursion works for neither ls no grep.

I've tried, for example, ls -R *.php   and  ls --recursive *.php  And
all I see is the current directory.  I know there are numerous *.php
files in the subdirectories.

I've also been through the range of grep recursive options, -R, -r,
--recursive and --directories=recurse

Anyone have any suggestions?  Is there some setting somewhere which has
disabled the recursive search?

Thanks very much.

James H. Cutts III
Computer Project Manager
Contracting and Organizational Research Institute
University of Missouri - Columbia
143C Mumford Hall
Columbia, MO
65211

Phone: (573) 882-6181
E-mail: cuttsj at missouri.edu

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list