Advertisement

05.19.2008 at 07:19PM PDT, ID: 23415792
[x]
Attachment Details

Search Files within Subdirectories for String Recursively

Asked by yokai in IBM AIX Unix, KornShell (ksh)

I have the following directory:

/opt/apps/mydir

Under "mydir" I have multiple subdirectories.  I would like to search each of the files within those subdirectories for the string "mystring".  What's the best way to accomplish this?Start Free Trial
[+][-]05.19.2008 at 07:24PM PDT, ID: 21603194

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: IBM AIX Unix, KornShell (ksh)
Sign Up Now!
Solution Provided By: omarfarid
Participating Experts: 2
Solution Grade: A
 
 
[+][-]05.20.2008 at 02:20AM PDT, ID: 21604500

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.20.2008 at 08:25AM PDT, ID: 21607058

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628