Re:Grep entire file system

  • From: "system manager" <sysmgr@xxxxxxxxxxxx>
  • To: <oracle-l@xxxxxxxxxxxxx>
  • Date: Thu, 12 Aug 2004 16:19:28 -0500

find ./ -type  f -exec grep -i -l 'sqlplus' {} \;
----------------------------------------------
Original Message
From: "Smith, Ron L."<rlsmith@xxxxxxx>
Subject: Grep entire file system
Date: Thu, 12 Aug 2004 16:12:42 -0500

>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@xxxxxxxxxxxxx
>put 'unsubscribe' in the subject line.
>--
>Archives are at //www.freelists.org/archives/oracle-l/
>FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
>-----------------------------------------------------------------
>

_____________________________________________
Free email with personality! Over 200 domains!
http://www.MyOwnEmail.com
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at //www.freelists.org/archives/oracle-l/
FAQ is at //www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: