How could a user substitute all instances of C with omputer in a file named nstructions and display the results in the terminal window?

How could a user substitute all instances of C with omputer in a file named nstructions and display the results in the terminal window?

How could a user substitute all instances of C with omputer in a file named nstructions and display the results in the terminal window?

A.
cat instructions | awk C omputer

B.
cat instructions | awk ‘/PC/ print omputer’

C.
sed s/PC/computer/g instructions

D.
sed -s PC -r computer instructions



Leave a Reply 1

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


mr_tienvu

mr_tienvu

I agree with the answer. C