In the vi editor, which command replaces all text from the cursor position to the end of the line?
Explanation
Option A (S) replaces the entire line from the cursor onward in vi. Option B (s) deletes the character under the cursor and enters insert mode. Option C (R) enables overwrite mode for continuous replacement. Option D (r) replaces a single character at the cursor.