BlackFriday 2024! 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 3 Question 91 Discussion

Actual exam question for LPI's 101-500 exam
Question #: 91
Topic #: 3
[All 101-500 Questions]

Which of the following vi commands deletes two lines, the current and the following line?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Brendan
3 months ago
I'm going with A. d2. It just makes the most sense to me. Though I have to admit, I'm more of a Nano person myself.
upvoted 0 times
Paris
2 months ago
I agree with User1, it's definitely C) 2dd.
upvoted 0 times
...
Annalee
3 months ago
I'm not sure, but I'll go with B) 2d.
upvoted 0 times
...
Lamar
3 months ago
I think it's C) 2dd.
upvoted 0 times
...
...
Percy
4 months ago
Definitely C. 2dd. Although, I have to say, these vi commands are starting to sound more like secret agent codes than text editors.
upvoted 0 times
...
Leigha
4 months ago
I believe the correct answer is C) 2dd because '2dd' deletes two lines in vi.
upvoted 0 times
...
Lili
4 months ago
B. 2d, easy peasy. Though I do wonder if the person who wrote this question has ever actually used vi before.
upvoted 0 times
Aleisha
2 months ago
I always use 2d to delete two lines in vi as well.
upvoted 0 times
...
Adelle
2 months ago
Yeah, 2d is pretty straightforward in vi.
upvoted 0 times
...
Cory
2 months ago
I agree, 2d is the correct command to delete two lines.
upvoted 0 times
...
Julio
3 months ago
C) 2dd
upvoted 0 times
...
Clay
3 months ago
B) 2d
upvoted 0 times
...
Anjelica
3 months ago
A) d2
upvoted 0 times
...
...
Mattie
4 months ago
I'm not sure, but I think it's either A) d2 or C) 2dd.
upvoted 0 times
...
Omer
4 months ago
I agree with Dortha, because '2dd' deletes two lines.
upvoted 0 times
...
Dortha
4 months ago
I think the answer is C) 2dd.
upvoted 0 times
...
Tom
4 months ago
D. dd2 looks like it would do the trick. Who comes up with these vi command options anyway? They're getting more confusing every year!
upvoted 0 times
...
Joseph
4 months ago
Hmm, I think it's C. 2dd seems the most straightforward way to delete two lines.
upvoted 0 times
Dorothy
3 months ago
I always get confused with vi commands, but 2dd makes sense to me.
upvoted 0 times
...
Shenika
3 months ago
No, it's actually C) 2dd, that's the correct command.
upvoted 0 times
...
Avery
3 months ago
I think it's A) d2, because it specifies deleting two lines.
upvoted 0 times
...
Lavonda
4 months ago
I agree, 2dd is the correct command to delete two lines.
upvoted 0 times
...
...

Save Cancel