Oracle
1Z0-409 · Question #52
1Z0-409 Question #52: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-409 to reveal the answer and full explanation for question #52. The question stem and answer options stay visible for context.
Question
You have opened a file called newfile.txt in the vi editor and in command mode, you enter :0,$ s/hello/init/g. What could be the purpose of issuing this command?
Options
- Ato replace the word hello with the word init globally in the newfile.txt file
- Bto replace the word init with the word hello globally in the newfile.txt file
- Cto delete all the lines containing the word hello and init in the newfile.txt file
- Dto replace the word hello with the word init from the cursor position in the newfile.txt file
Unlock 1Z0-409 to see the answer
You've previewed enough free 1Z0-409 questions. Unlock 1Z0-409 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.