grep

August 6, 2020 Ricardo Santos Cheat sheet 0 minutes, 4 seconds

Procurar texto em ficheiros recursivamente

grep

grep -rnw '/path/to/somewhere/' -e 'pattern'
grep -rnw '/path/to/somewhere/' -e 'pattern'