

McqMate
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 |
View all MCQs in
Linux ProgrammingNo comments yet