Multiple choice technology operating systems

How can you insert a new line in vi ?

  1. Esc+O

  2. Esc+i

  3. Esc+G

  4. Esc+x

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In vi's command mode, pressing 'O' (capital o) creates a new line above the current line and enters insert mode, allowing you to type content. Option B's 'i' enters insert mode at the current cursor position without creating a new line. Options C and D are for navigation and deletion respectively.