Search a pattern inside all files in current

ARUN Post in LINUX COMMANDS, SEARCH COMMANDS
0

grep -rl pattern .

For example :

To search for each line under the current directory for the word “Hacked”
grep -rl Hacked .

« Prev: :Next »

Leave a Reply

You must be logged in to post a comment.