Q.

Which command will be used to match the pattern agarwal, Aggarwal, Agggarwal and agrawal in the file named empl.1st?

A. grep “[aA]99*[ar][ra]wal” empl.1st
B. grepag* empl.1st
C. cutagrawal empl.1st
D. grepag[ra][ar]wal empl.1st
Answer» A. grep “[aA]99*[ar][ra]wal” empl.1st
1.8k
0
Do you find this helpful?
19

View all MCQs in

Linux Programming

Discussion

No comments yet