how to search for a file using filename in linux code example Example: find in file linux grep -rnw '/path/to/somewhere/' -e 'pattern'