October 06, 2017

Searching a string in all files in Linux


❑ grep -ri [A string] [A path] 2>/dev/null
* -r : Read all files under the path.
* -i : Ignore case sensitivity.