Vidyalelo
Computer Science · Q739

UNIX

Engineering and GATE · Computer Science · question 739

Q739

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

A.
sed -n '/gupta/,/agarwal/p' emp.lst
Answer
B.
sed -n '/gupta/agarwal/p' emp.lst
C.
sed '/gupta | agarwal'p' emp.lst
D.
sed -n

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board