Difficulty: Easy
Correct Answer: h
Explanation:
Introduction / Context:
Efficient text editing in Unix-like systems often relies on the vi/vim editor. Mastering the basic motion keys lets you navigate without leaving the home row. This question checks your knowledge of the fundamental h-j-k-l navigation pattern used to move the cursor left, down, up, and right in normal mode.
Given Data / Assumptions:
Concept / Approach:
vi was designed for terminals without arrows. The navigation keys were placed under the right hand: h (left), j (down), k (up), l (right). Movement commands act once per keystroke but can be repeated with a numeric count. They do not insert text; they reposition the cursor only.
Step-by-Step Solution:
Verification / Alternative check:
Open any file, place the cursor in the middle of a word, press h repeatedly, and observe the cursor shift left. Compare with l (right) and j/k (vertical movement) to reinforce the mapping.
Why Other Options Are Wrong:
Common Pitfalls:
Forgetting to leave insert mode before attempting movement; assuming arrow keys are required; holding the key continuously instead of using counts for faster movement; remappings that change defaults in personal configs.
Final Answer:
h
mail
program's internal command set, which command forwards the current message to the specified user-list?
Discussion & Comments