In the vi editor, which command replaces the character under the cursor with another character?

Choose the correct answer

Explanation

The 'r' command in vi replaces the single character at the cursor position with the next character you type. Other options like 'R' enter replace mode, 's' deletes the character under the cursor and inserts text, and 'S' deletes the entire line and starts inserting.

In the vi editor, which command replaces the charact… — Basic of linux unix | PakQuizHub