linux търсене на низ във файл
grep -R "keyword" /directory/
linux намира съдържанието на файла
grep -rnw '/path/to/somewhere/' -e 'pattern'
linux рекурсивно търси дадена стринг във всички файлове
$ grep -r "String to be searched goes here" *
четете ред по ред от файл в linux
grep 'word' filename
grep 'word' file1 file2 file3
grep 'string1 string2' filename
cat otherfile | grep 'something'
command | grep 'something'
command option1 | grep 'data'
grep --color 'data' fileName