nerdexam
Linux_FoundationLinux_Foundation

LFCS · Question #799

LFCS Question #799: Real Exam Question with Answer & Explanation

Sign in or unlock LFCS to reveal the answer and full explanation for question #799. The question stem and answer options stay visible for context.

Submitted by salim_om· Apr 18, 2026Essential Commands

Question

In the vi editor, how can commands such as moving the cursor or copying lines into the buffer be issued multiple times or applied to multiple rows?

Options

  • ABy using the command :repeat followed by the number and the command.
  • BBy specifying the number right in front of a command such as 4l or 2yj.
  • CBy selecting all affected lines using the shift and cursor keys before applying the command.
  • DBy issuing a command such as :set repetition=4 which repeats every subsequent command 4

Unlock LFCS to see the answer

You've previewed enough free LFCS questions. Unlock LFCS for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#vi editor#command repetition#text editing#cursor movement
Full LFCS PracticeBrowse All LFCS Questions