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?
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
Correct Answer:
Verified
Q88: A Linux administrator wants to configure log
Q89: A systems administrator wants to mount an
Q90: A security administrator wants to display a
Q91: A systems administrator installs a simple package,
Q92: A company wants to provide internal identity
Q94: A Linux administrator is updating iptables rules
Q95: A junior Linux administrator is performing version
Q96: A systems administrator receives a report that
Q97: A Linux administrator attempts to install the
Q98: A Linux engineer is troubleshooting a newly
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents