exam questions

Exam 101-500 All Questions

View all questions & answers for the 101-500 exam

Exam 101-500 topic 1 question 106 discussion

Actual exam question from LPI's 101-500
Question #: 106
Topic #: 1
[All 101-500 Questions]

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?

  • A. By using the command :repeat followed by the number and the command
  • B. By specifying the number right in front of a command such as 41 or 2yj.
  • C. By selecting all affected lines using the shit and cursor keys before applying the command.
  • D. By issuing a command such as :set repetition=4 with repeats every subsequent command 4 times.
  • E. By specifying the number after a command such as 14 or yj2 followed by escape.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
hiatusland
Highly Voted 2 years, 2 months ago
ah yes, the "shit and cursor keys," my favorite of the keys.
upvoted 13 times
CuriousLinuxCat
1 year, 11 months ago
25 years have I walked this Earth, and have never found myself not using one of these glorious keys.
upvoted 5 times
...
sheilawu
2 months ago
lamo it is too funny when I saw "shit"
upvoted 1 times
...
...
musashino_ninja
Highly Voted 2 years, 10 months ago
41 should be 4l(elle).
upvoted 6 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago