Tuesday, 1 August 2017

The command to find any specific word in a linux file and in which line

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

0 comments:

Post a Comment