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