Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

grep: to find a word in all subdirectoies

Posted on 2011-03-19
1
Medium Priority
?
407 Views
Last Modified: 2012-05-11
Hi, I want to run a command to find all files in the sub-directoies.
Thanks for hint.
0
Comment
Question by:zhshqzyc
1 Comment
 
LVL 18

Accepted Solution

by:
Jerry Miller earned 400 total points
ID: 35173916
Take a look at the MAN page for grep. About 2/3 of the way down it gives an example to find a phrase in a partition.


http://ss64.com/bash/grep.html
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, an awarded photographer, Selina De Maeyer (http://www.selinademaeyer.com/), completed a photo shoot of a beautiful event (http://www.sintjacobantwerpen.be/verslag-en-fotoreportage-van-de-sacramentsprocessie-door-antwerpen#thumbnails) in An…
Utilizing an array to gracefully append to a list of EmailAddresses
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question