Linux Foundation Certified System Administrator (LFCS) — Question 123

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

Answer options

Correct answer: D

Explanation

The correct answer is D because when vi is started without any parameters, it defaults to opening a new empty file in command mode. Options A, B, and E are incorrect as they describe behaviors that do not occur when no file is specified, and option C is also wrong because vi does not exit with an error in this scenario.