adplus-dvertising
frame-decoration

Question

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

a.

sed -n ‘/gupta/,/agarwal/p’ emp.lst

b.

sed -n ‘/gupta/agarwal/p’ emp.lst

c.

sed ‘/gupta | agarwal’p’ emp.lst

d.

sed -n

Answer: (a).sed -n ‘/gupta/,/agarwal/p’ emp.lst

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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