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