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: Rognes, Sten <Sten.Rognes_at_schwab.com>
Date: Thu, 12 Aug 2004 14:22:19 -0700
Message-ID: <4BD75994A2DEC542AD401194FE45E62EA03810@n1021smx.nt.schwab.com>

> 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.

find . -type f -print | xargs grep sqlplus

Sten



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:20:07 CDT

Original text of this message

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