fgrep |
fgrepfgrep will search a file for a text string. This will search for patterns in multiple files. Example: fgrep -wc turkey mytext 3 This returns the information that the whole word turkey is found 3 times in the file mytext. Options -c number of matches -C display two lines before and after each match -e pattern search for pattern -f file uses a pattern from a file -i ignore case -l lists files that contain matches -L lists files that have no matches -w lists whole words that are matched |