CompTIA
XK0-004 · Question #163
XK0-004 Question #163: Real Exam Question with Answer & Explanation
Sign in or unlock XK0-004 to reveal the answer and full explanation for question #163. The question stem and answer options stay visible for context.
Question
Using which of the following control mode commands is the correct way to substitute all occurrences of /dev/sdc with /dev/sdd while editing a file in vi?
Options
- A:s//dev/sdc//dev/sdd
- B:s//dev/sdc//dev/sdd/g
- C:s//dev/sdc//dev/sdd
- D:%s//dev/sdc//dev/sdd
Unlock XK0-004 to see the answer
You've previewed enough free XK0-004 questions. Unlock XK0-004 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.