PrepAway - Latest Free Exam Questions & Answers

How could a user substitute all instances of C with omputer in a file named nstructions and display the result

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

PrepAway - Latest Free Exam Questions & Answers

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

One Comment on “How could a user substitute all instances of C with omputer in a file named nstructions and display the result


Leave a Reply