Linux Search Pattern Question: Download Questions PDF
Indicate the right option to search for BOB, Bob, BOb or BoB?
a) grep -i Bob files
b) grep 'B[oO][bB]' files
c) grep '[BOB]' files
d) grep -v 'Bob' files
Answer:
b) grep 'B[oO][bB]' files
Download Search Pattern Interview Questions And Answers
PDF