Linux Howto Recursively Search/Locate with Grep Command String Inside All Files

August 6th, 2012 by Regaz



This Post Show Howto Recursively Searching and Locating for a String Inside All Files in Directories and Sub-Directories.

The Process is Performed in Terminal and Make Use of the Linux Shell Command Utility: grep.

The Content give Focus Only to the Essentials Instructions and Commands to make it Easier to Understand;)

Linux Popeye-Toy
  1. Open a Terminal Window
    (Press “Enter” to Execute Commands)
  2. Recursively Searching and Locating Files Containing the String
    grep -r "myString" 
  3. Example: grep -r “icon.png” /

Tags: , , , , ,