101-500 practice question 9 of 30
Which of the following are modes of the vi editor? (Choose two.)
Full set: 246 questionsThe vi editor is modal, meaning the effect of keystrokes depends on the current mode. The two primary modes are Command mode and Insert mode. In Command mode (the default), keys are interpreted as commands for navigation, deletion, copying, etc. In Insert mode, entered by pressing keys like i or a, typed characters are inserted into the file as text. Users switch between these modes to edit efficiently.
A. edit mode: This is a generic term; "Insert mode" is the specific, correct name for the text entry mode in vi.
C. change mode: This is not a distinct mode. Commands like c (change) place the user into Insert mode after deleting text.
D. review mode: This is not a standard mode in the vi editor.
1. Robbins, A., Hannah, E., & Lamb, L. (2008). Learning the vi and Vim Editors. O'Reilly Media. Chapter 1, "Basic and Advanced vi," introduces the concept of modes, focusing on Command Mode and Insert Mode as fundamental.
2. University of Washington, "Basic vi Commands". This university resource clearly defines the two basic operating modes: "Command Mode" and "Insert Mode," explaining how to switch between them.
3. The Open Group Base Specifications Issue 7, 2018 edition, vi utility. Section "vi Command Descriptions" implicitly describes the behavior of command mode and the commands (a, i, o, etc.) that enter insert mode.
Keep practicing
Take the free 101-500 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other 101-500 practice questions
- Question 1Which of the following commands prints a list of available package updates when using RPM…
- Question 2Which of the following commands changes the number of days before the ext3 filesystem on …
- Question 3During a system boot cycle, what program is executed after the BIOS completes its tasks?
- Question 4Which of the following commands reboots the system when using SysV init? (Choose TWO corr…
- Question 5Which of the following commands updates the linker cache of shared libraries?
- Question 6Which of the following commands can be used to create a USB storage media from a disk ima…
