New Year Sale ! 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
4 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
4 months ago
I agree with User1, it's definitely C) 2dd.
upvoted 0 times
...
Annalee
4 months ago
I'm not sure, but I'll go with B) 2d.
upvoted 0 times
...
Lamar
4 months ago
I think it's C) 2dd.
upvoted 0 times
...
...
Percy
5 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
5 months ago
I believe the correct answer is C) 2dd because '2dd' deletes two lines in vi.
upvoted 0 times
...
Lili
5 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
3 months ago
I always use 2d to delete two lines in vi as well.
upvoted 0 times
...
Adelle
3 months ago
Yeah, 2d is pretty straightforward in vi.
upvoted 0 times
...
Cory
4 months ago
I agree, 2d is the correct command to delete two lines.
upvoted 0 times
...
Julio
4 months ago
C) 2dd
upvoted 0 times
...
Clay
4 months ago
B) 2d
upvoted 0 times
...
Anjelica
4 months ago
A) d2
upvoted 0 times
...
...
Mattie
5 months ago
I'm not sure, but I think it's either A) d2 or C) 2dd.
upvoted 0 times
...
Omer
5 months ago
I agree with Dortha, because '2dd' deletes two lines.
upvoted 0 times
...
Dortha
5 months ago
I think the answer is C) 2dd.
upvoted 0 times
...
Tom
5 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
5 months ago
Hmm, I think it's C. 2dd seems the most straightforward way to delete two lines.
upvoted 0 times
Dorothy
4 months ago
I always get confused with vi commands, but 2dd makes sense to me.
upvoted 0 times
...
Shenika
4 months ago
No, it's actually C) 2dd, that's the correct command.
upvoted 0 times
...
Avery
4 months ago
I think it's A) d2, because it specifies deleting two lines.
upvoted 0 times
...
Lavonda
5 months ago
I agree, 2dd is the correct command to delete two lines.
upvoted 0 times
...
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77