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

August 6, 2012 | By Regaz | Filed in: Uncategorized.

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

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: , , , , ,