Which command searches the line the cursor is on for the first occurrence of the string old and replaces it with the string new?
A) :s/old/new
B) :s/new/old
C) :3,15s/old/new/g
D) :%s/old/new/g
Correct Answer:
Verified
Q19: Which vim command allows you to copy
Q20: What does the symbol indicate in the
Q21: How many times can you use the
Q22: Typing _ at the extended mode prompt
Q23: Typing _ at the extended mode prompt
Q25: Which vim command shows line numbers?
A) :set
Q26: A(n) _ is a program used to
Q27: A(n) _ is a text file containing
Q28: KWrite has an advanced feature known as
Q29: KWrite has an advanced feature known as
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