linux search files for texxt code example Example: file search linux by text grep -rnw '/path/to/somewhere/' -e 'pattern'