Vidyalelo
Computer Science · Q750

UNIX

Engineering and GATE · Computer Science · question 750

Q750

Which one of the following commands will be used to delete all the instances of string 'manager' in file003?

A.
1,$s/manager/ /g
Answer
B.
%s/manager/director/g
C.
1,$s/professor/director
D.
%s/manager/ /

Answer: Option A

Solution

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