Which of the following commands changes all occurrences…

Which of the following commands changes all occurrences of the word “bob” in file data to
“Bob” and prints the result to standard output?

Which of the following commands changes all occurrences of the word “bob” in file data to
“Bob” and prints the result to standard output?

A.
sed’/bob/Bob’ data

B.
sed’s/bob/Bob/g’ data

C.
sed’s/bob/Bob/’ data

D.
sed’/bob/Bob/’ data

E.
sed’s/bob,Bob/’ data



Leave a Reply 0

Your email address will not be published. Required fields are marked *