bash search files in directory show location code example Example: bash search file in directory grep -rnw '/path/to/somewhere/' -e 'pattern'