Multiple choice technology

command to insert a new empty line before the current line inside vi ?

  1. o

  2. O

  3. enter

  4. a

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

In vi, uppercase 'O' opens a new line ABOVE the current line and places the cursor in insert mode. Lowercase 'o' opens a line below. 'Enter' and 'a' have different functions - 'a' appends text after the cursor on the same line.