hoangdangninh
6/14/2017 - 4:17 AM

From https://stackoverflow.com/questions/16956810/how-do-i-find-all-files-containing-specific-text-on-linux

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

# Amazing command 
grep -rnw `locate -b knoxx-backend-services` -e devise | nl | sed -n 717p