linux find from file content
grep 'word' filename
grep 'word' file1 file2 file3
grep 'string1 string2' filename
cat otherfile | grep 'something'
command | grep 'something'
command option1 | grep 'data'
grep --color 'data' fileName# syntax
# find *</path/to/dir> -name '*<file(s)-to-search>' -exec grep '*<string-to-find>' {} /dev/null \;
# example
find 'C:/Users/JacquesK' -name '*.*' -exec grep 'Random text to find' {} /dev/null \;grep -rnw '/path/to/somewhere/' -e 'pattern'
Also in Shell:
- show rights inside folder debian
- linux check disk space
- update node version mac
- pip upgrade package
- check commit history git
- CommandNotFoundError: Your shell has not been properly
- shell promt user input
- hyper-v powershell add scsi DVD
- canging branch in git
- npm install cli vue
- react testing library
- git change remote origin address
- error installing drivelist npm
- install sailsjs
- find exclude hidden files
- pyinstaller statsmodels
- where is path on klai linux
- install flask
- linux scp
- mysqli install ubuntu
- install flutter
- git push to heroku
- tfswitch install
- how to add regex to ls