grep/egrep Flashcards
1
Q
What does the grep option -c do?
A
Count
2
Q
What does the grep option -i do?
A
Ignore case sensitive
3
Q
What does grep option -n do?
A
match lines and their line numbers
4
Q
What does grep option -v do?
A
Everything but specified keyword
5
Q
How can you use egrep?
A
egrep -i “keyword|keyword2” file