The vi editor is invoked with the syntax 'vi [filename]'. Therefore 'vi /etc/test' is the correct way to open the /etc/test file. Option A has the wrong order (command first), option C uses a non-standard command, and 'edit' is not the standard vi invocation.