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

August 6, 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 Follow.

How to Go to End of File or Last Line on nano Editor
  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” /.


QuickChic Theme • Powered by WordPress