Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI Exam 101-500 Topic 7 Question 78 Discussion

Actual exam question for LPI's 101-500 exam
Question #: 78
Topic #: 7
[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?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Isadora
1 months ago
Wait, you mean vi has commands other than 'ESC, :wq'? Mind = blown!
upvoted 0 times
Denise
5 days ago
C) By selecting all affected lines using the shift and cursor keys before applying the command.
upvoted 0 times
...
Ben
6 days ago
B) By specifying the number right in front of a command such as 4l or 2yj.
upvoted 0 times
...
Yvonne
28 days ago
A) By using the command :repeat followed by the number and the command.
upvoted 0 times
...
...
Lottie
2 months ago
Option A sounds way too complicated. Who wants to type out a whole command just to repeat something?
upvoted 0 times
Nina
5 days ago
C) By selecting all affected lines using the shift and cursor keys before applying the command.
upvoted 0 times
...
Odette
6 days ago
B) By specifying the number right in front of a command such as 4l or 2yj.
upvoted 0 times
...
Tiffiny
11 days ago
A) By specifying the number right in front of a command such as 4l or 2yj.
upvoted 0 times
...
...
Norah
2 months ago
Haha, I tried option C once and ended up selecting the whole document by mistake. That's a definite no-go!
upvoted 0 times
Daniela
6 days ago
A) By using the command :repeat followed by the number and the command.
upvoted 0 times
...
...
Lanie
2 months ago
I prefer option D. It's more flexible and you can set the repetition to any number you want.
upvoted 0 times
...
Marisha
2 months ago
Option B is the correct answer. Using a number prefix to repeat a command is the easiest way to do it in vi.
upvoted 0 times
Lorita
24 days ago
User 2: That's right, using a number in front of a command is the easiest way to repeat it in vi.
upvoted 0 times
...
Alberta
26 days ago
User 1: Option B is the correct answer.
upvoted 0 times
...
Torie
1 months ago
User 2: That's right, using a number in front of a command is the easiest way to repeat it in vi.
upvoted 0 times
...
Leila
1 months ago
User 1: Option B is the correct answer.
upvoted 0 times
...
...
Daron
2 months ago
That makes sense, it's a quick way to repeat commands.
upvoted 0 times
...
Casie
2 months ago
I think it's by specifying the number right in front of a command, like 4l or 2yj.
upvoted 0 times
...
Daron
2 months ago
How can we issue commands multiple times in vi editor?
upvoted 0 times
...

Save Cancel