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?
Suggested Answer: C
Get Premium 101-500 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
43 comments · newest first
SA
Salena
1 year ago
:set repetition=4? That's not how it works!
KA
Kallie
1 year ago
I’m not sure about that shift and cursor method, sounds off.
CH
Cherrie
1 year ago
Wait, I thought you had to use :repeat for that?
HA
Hana
1 year ago
Totally agree, that's the way to go!
NA
Nathan
1 year ago
You can use 4l or 2yj to move or copy multiple times!
GI
Gianna
1 year ago
I vaguely recall something about selecting lines, but I don't think that's how you repeat commands in vi. It feels off.
NO
Norah
1 year ago
I practiced a question similar to this where we had to repeat commands, and I think option B sounds correct.
AI
Aimee
1 year ago
I'm not entirely sure, but I feel like the :repeat command is not the right way to do this. It seems more complicated than just using a number.
AN
Annmarie
1 year ago
I think I remember that you can just put a number before the command, like 3j to move down three lines.
DE
Deeanna
1 year ago
Ah, this is a good one. I think the key here is to remember the different ways you can repeat commands in vi. I'll make sure to review the options carefully and select the best one.
CA
Catarina
1 year ago
Okay, I remember learning about this in my Linux class. I believe the answer is option B, where you can just specify the number in front of the command to repeat it that many times. Let me double-check that though.
RO
Rolland
1 year ago
This looks like a pretty straightforward question about repeating commands in the vi editor. I think I've got a good handle on this, so I'll try to tackle it.
TH
Thurman
1 year ago
Hmm, I'm a bit unsure about this one. I know there are ways to repeat commands in vi, but I can't quite remember the specific syntax. I'll have to think this through carefully.
MA
Markus
1 year ago
Hmm, I'm a bit unsure about this one. I know Dynamics 365 has a lot of different modules, so I'll have to think carefully about which ones are specifically part of the Supply Chain Management application.
EL
Elenora
1 year ago
Okay, I think I've got this. Based on the differences between the two tables, it seems like the business analyst checked the "Subtotals at Top" option in the Presentation tab to move the totals to the top of the table. I'll go with option B.
EM
Emmett
1 year ago
Hmm, I'm a bit unsure about this one. The scenario mentions Barney's goals, but it's not entirely clear which data practice he's most focused on improving. I'll need to re-read the details carefully.
CA
Cathrine
1 year ago
Hmm, I'm not sure about this one. The question is asking about the time periods when health plans use home healthcare, but it's not clear if they use it in both periods or just one. I'll have to think this through carefully.
MA
Marcos
1 year ago
This seems straightforward. I'll carefully read the question and the test case information, then logically work through the options to determine the minimum number of remaining test cases that must be executed.
IS
Isadora
2 years ago
Wait, you mean vi has commands other than 'ESC, :wq'? Mind = blown!
OR
Ora
1 year ago
C) By selecting all affected lines using the shift and cursor keys before applying the command.
TH
Theodora
1 year ago
B) By specifying the number right in front of a command such as 4l or 2yj.
DY
Dylan
1 year ago
A) By using the command :repeat followed by the number and the command.
DE
Denise
1 year ago
C) By selecting all affected lines using the shift and cursor keys before applying the command.
BE
Ben
1 year ago
B) By specifying the number right in front of a command such as 4l or 2yj.
YV
Yvonne
2 years ago
A) By using the command :repeat followed by the number and the command.
LO
Lottie
2 years ago
Option A sounds way too complicated. Who wants to type out a whole command just to repeat something?
NI
Nina
1 year ago
C) By selecting all affected lines using the shift and cursor keys before applying the command.
OD
Odette
1 year ago
B) By specifying the number right in front of a command such as 4l or 2yj.
TI
Tiffiny
2 years ago
A) By specifying the number right in front of a command such as 4l or 2yj.
NO
Norah
2 years ago
Haha, I tried option C once and ended up selecting the whole document by mistake. That's a definite no-go!
TA
Tamera
1 year ago
Definitely, lesson learned. Thanks for the tip!
GE
Gerri
1 year ago
Oh no, that sounds like a mess! Stick to option A or B next time.
EM
Emeline
1 year ago
B) By specifying the number right in front of a command such as 4l or 2yj.
DA
Daniela
1 year ago
A) By using the command :repeat followed by the number and the command.
LA
Lanie
2 years ago
I prefer option D. It's more flexible and you can set the repetition to any number you want.
MA
Marisha
2 years ago
Option B is the correct answer. Using a number prefix to repeat a command is the easiest way to do it in vi.
LO
Lorita
2 years ago
User 2: That's right, using a number in front of a command is the easiest way to repeat it in vi.
AL
Alberta
2 years ago
User 1: Option B is the correct answer.
TO
Torie
2 years ago
User 2: That's right, using a number in front of a command is the easiest way to repeat it in vi.
LE
Leila
2 years ago
User 1: Option B is the correct answer.
DA
Daron
2 years ago
That makes sense, it's a quick way to repeat commands.
CA
Casie
2 years ago
I think it's by specifying the number right in front of a command, like 4l or 2yj.
DA
Daron
2 years ago
How can we issue commands multiple times in vi editor?