Grep operating parameters

Grep commonly used parameters, hope can be useful
-i ignore case search for information
display after -n search information line number
-c statistical filter out rows
-v will search for information negated
-o output only matching information
-w according to the character string matching
information after filtering -A specified content
information before the specified content filtering -B
-C vertical lines specified content filtering information, -E extended regular information identifying
-r recursively search the specified data

Guess you like

Origin blog.51cto.com/14630821/2460990