Q:

Which of the following will be used to print lines containing ‘manager’ in emp.lst?

0

Which of the following will be used to print lines containing ‘manager’ in emp.lst?


  1. awk ‘/manager/ { print }’ emp.lst
  2. awk ‘/manager { print }’ emp.lst
  3. awk ‘/manager/ { print } emp.lst
  4. awk ‘manager { print }’ emp.lst

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (a).awk ‘/manager/ { print }’ emp.lst

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

UNIX - FILTERS AND REGULAR EXPRESSIONS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
The default action if selection_criteria is missin... >>
<< Awk filter operates at field level...