What happens after issuing the command vi without any additional parameters?

What happens after issuing the command vi without any additional parameters?
A . vi starts and loads the last file used and moves the cursor to the position where vi was when it last exited.
B . vi starts and requires the user to explicitly either create a new or load an existing file.
C . vi exits with an error message as it cannot be invoked without a file name to operate on.
D . vi starts in command mode and opens a new empty file.
E . vi starts and opens a new file which is filled with the content of the vi buffer if the buffer contains text.

Answer: D

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments