SCA_SLES15 practice question 9 of 15
True or false: It is not possible to open more than one file in Vim without running a second instance.
Full set: 69 questionsVim is expressly designed to handle more than one file within a single program instance. You can:
• start Vim with several files on the command line (e.g. vim file1 file2),
• load additional files later with commands such as :e {file}, :split {file}, :vsplit {file}, or :tabedit {file}, and
• move between them with :next, :prev, or the various window / tab commands. Because all of these facilities exist inside one running Vim process, the statement that “it is not possible to open more than one file in Vim without running a second instance” is false. Why Incorrect Option is Wrong:
• True – would claim such multi-file capability does not exist, which directly contradicts the documented commands above.
1. vim(1) manual page, “SYNOPSIS” and “Starting VIM” – “vim [options] [file …]” (opens multiple files), “:next”, “:split file” (open additional files). SUSE SLES 15 vim package man page.
2. SUSE Linux Enterprise Server 15 SP4 Administration Guide, §15.6 “Using the vi/vim editor”, paragraph “Working with several files” – describes :next and other commands to switch between multiple files in a single Vim session.
Keep practicing
Take the free SCA_SLES15 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other SCA_SLES15 practice questions
- Question 1Which option for zypper will list the available patches?
- Question 2Which Vim command will save the current file without exiting?
- Question 3Which file should be edited to make sure a file system is mounted each time a system boot…
- Question 4You have just added a new directory to be exported via NFS. what command should you run n…
- Question 5If you have a service named tftp, which command and options would enable tftp to start au…
- Question 6Which statements about log file rotation are true? (Choose two)
