grep/egrep Flashcards

1
Q

What does the grep option -c do?

A

Count

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does the grep option -i do?

A

Ignore case sensitive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does grep option -n do?

A

match lines and their line numbers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does grep option -v do?

A

Everything but specified keyword

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How can you use egrep?

A

egrep -i “keyword|keyword2” file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly