nerdexam
CompTIA

LX0-103 · Question #113

While using the vi editor, you wish to move ahead one page. You should press the control key and:

The correct answer is C. F. In vi, pressing Ctrl+F moves the cursor forward by one full page in the buffer.

GNU and Unix Commands

Question

While using the vi editor, you wish to move ahead one page. You should press the control key and:

Options

  • AA
  • BD
  • CF
  • DU

How the community answered

(33 responses)
  • A
    6% (2)
  • B
    3% (1)
  • C
    88% (29)
  • D
    3% (1)

Why each option

In vi, pressing Ctrl+F moves the cursor forward by one full page in the buffer.

AA

Ctrl+A is not a standard vi page-navigation command and has no defined scrolling behavior in vi.

BD

Ctrl+D scrolls forward by only half a page, not a full page.

CFCorrect

Ctrl+F is the vi keybinding for 'forward one full page,' scrolling the viewport down by one screen. This is part of vi's standard navigation set, where the F mnemonic stands for Forward. Its counterpart, Ctrl+B, scrolls backward one full page.

DU

Ctrl+U scrolls upward (backward) by half a page, which is the opposite direction and half the distance.

Concept tested: vi editor full-page forward navigation

Source: https://vimdoc.sourceforge.net/htmldoc/scroll.html

Topics

#vi editor#page navigation#Ctrl+F#keyboard shortcuts

Community Discussion

No community discussion yet for this question.

Full LX0-103 Practice