Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
linux search for a given string in all files recursively
user155287
Programming language:
Shell/Bash
2021-06-15 07:07:42
0
Q:
linux search for a given string in all files recursively
Albert
Code:
Shell/Bash
2021-03-05 09:08:41
$ grep -r "String to be searched goes here" *
3
Julia Shulenina
Code:
Shell/Bash
2021-01-27 13:56:20
grep -rnw '/path/to/somewhere/' -e 'pattern'
-1
Tags
string
file
files
linux
search
Related
linux replace string in files recursively
bash delete all files of type recursively
count files recursively linux
find number of occurances of a string in a file shell
bash count files in directory recursively matchingattern
ubuntu terminal find file recursive
linux search file in specific folder
search all folders for file match linux
command line how to find all files that have a string
linux find files without string
New to Communities?
Join the community