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

1. grep “[aA]99*[ar][ra]wal” empl.1st

2. grepag* empl.1st

3. cutagrawal empl.1st

4. grepag[ra][ar]wal empl.1st

  • a. grep “[aA]99*[ar][ra]wal” empl.1st
Subscribe Now

Get All Updates & News