Q:

To select lines containing gupta and agarwal, which command will be used?

0

To select lines containing gupta and agarwal, which command will be used?


  1. sed -n ‘/gupta/,/agarwal/p’ emp.lst
  2. sed -n ‘/gupta/agarwal/p’ emp.lst
  3. sed ‘/gupta | agarwal’p’ emp.lst
  4. sed -n

All Answers

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

(a).sed -n ‘/gupta/,/agarwal/p’ 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
To write selected lines, ____ is used with sed... >>
<< To perform context addressing, we have to enclose ...