Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Grep entire file system

RE: Grep entire file system

From: Kevin Lange <klange_at_ppoone.com>
Date: Thu, 12 Aug 2004 16:22:04 -0500
Message-ID: <ED1256BD4F253C44B1627B2D365A334F0528FCD7@ppoone1.ppoone.com>


from the root of the tree you want to look in (i.e. your ORACLE_HOME or even /)

find . -exec grep -il sqlplus {} \;

This will find all files that CONTAIN the word sqlplus, reguardless of case, INSIDE them.

-----Original Message-----

From: Smith, Ron L. [mailto:rlsmith_at_kmg.com] Sent: Thursday, August 12, 2004 4:13 PM
To: oracle-l_at_freelists.org
Subject: Grep entire file system

Does anyone have a command that will grep for all files in a file system that contain a string like "sqlplus"?
I can do it within a directory, but I want it to look at all the directories.

Thanks!
Ron



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html

-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
Received on Thu Aug 12 2004 - 16:19:05 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US