CompTIA
LX0-101 · Question #44
LX0-101 Question #44: Real Exam Question with Answer & Explanation
Sign in or unlock LX0-101 to reveal the answer and full explanation for question #44. The question stem and answer options stay visible for context.
Question
Which of the following sed commands will replace all instances of the string foo with the string foobar changing the file file1.txt in place?
Options
- Ased 's/foo/foobar/g' filel M
- Bsed 's/foo/foobar/g' filel M > filel M
- Csed 's/foo/foobar/g' filel M | filel M
- DseD.i's/foo/foobar/g'file1.txt
- EseD.i 's/foo/foobar/g' filel M > filel M
Unlock LX0-101 to see the answer
You've previewed enough free LX0-101 questions. Unlock LX0-101 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.