Which of the following commands will change all occurrences of dog in the file animals.txt to mutt in the screen display?

Which of the following commands will change all occurrences of dog in the file animals.txt to mutt in the screen display?
A . sed Cs “dog” “mutt” animals.txt
B . grep Cs “dog||mutt” animals.txt
C . sed ‘s/dog/mutt/g’ animals.txt
D . cat animals.txt | grep Cc “dog” “mutt”
E . fmt animals.txt | cut ‘dog’ > ‘mutt’

Answer: C

Latest 101-500 Dumps Valid Version with 242 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments