Answers for "linux command to search string in file"

8

file search linux by text

grep -rnw '/path/to/somewhere/' -e 'pattern'
Posted by: Guest on January-23-2020
1

linux search inside files

grep -Rl "search-term"
Posted by: Guest on October-07-2021

Code answers related to "linux command to search string in file"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language