1, using the option -R, -r, recursively all files in the specified directory and its contents match
2, through the -d option can achieve these same functions
3, -rl only output file name matches the content is located in a recursive process
4, can be applied at the same time of application options r --exclude-dir option to exclude some directories (note that this set is a regular expression)
例如: grep -r --exclude-dir = '. Git' match_wordl 'you
5, can be applied at the same time options r application --exclude option to exclude some files
6, -i case-insensitive
7, -o matched to output only a portion (rather than the entire row)
8, when the regular matching -F, without adding escape character
9, -w matches whole words as
10, -x entire row as a match
11, -f the contents of a file as a match, and with the use -w -x