Temukan string di file linux
grep -rnw '/path/to/somewhere/' -e 'pattern'
Disgusted Dolphin
grep -rnw '/path/to/somewhere/' -e 'pattern'
find . -name '*.js' -exec grep -i 'string to search for' {} \; -print
# syntax:
# find *</path/to/dir> ! -name '*<substring-to-exclude>’
# example:
find . ! -name '*.csv'