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 1 Question 93 Discussion

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

Emile
2 months ago
C) 2dd is the clear winner here. It's like a two-for-one deal on line deleting! What a steal!
upvoted 0 times
Antonio
1 months ago
Yeah, 2dd is so efficient for deleting multiple lines at once.
upvoted 0 times
...
Merri
1 months ago
I agree, 2dd is definitely the way to go for deleting two lines.
upvoted 0 times
...
...
Nichelle
2 months ago
E) de12 is the way to go! I mean, who doesn't love a little bit of mystery in their vi commands?
upvoted 0 times
...
Janine
2 months ago
I'm going with B) 2d. It's simple and gets the job done. Plus, it's always good to keep things concise.
upvoted 0 times
Avery
27 days ago
Agreed, 2d is the way to go for deleting two lines.
upvoted 0 times
...
Rikki
1 months ago
Yeah, it's definitely the most efficient option.
upvoted 0 times
...
Aja
1 months ago
I think B) 2d is the right choice too.
upvoted 0 times
...
...
Freida
2 months ago
D) dd2 seems like a good option. Who doesn't love a little extra 2 in their vi commands?
upvoted 0 times
Monroe
25 days ago
User4: I think D) dd2 is incorrect, it should be C) 2dd.
upvoted 0 times
...
Lucia
26 days ago
User3: I'm not sure, but I think D) dd2 might be the correct option.
upvoted 0 times
...
Layla
27 days ago
User2: I agree, deleting two lines with 2dd makes sense.
upvoted 0 times
...
Hortencia
2 months ago
User1: I think the answer is C) 2dd.
upvoted 0 times
...
...
Jettie
2 months ago
I believe the correct answer is C) 2dd because 'dd' deletes the current line and adding '2' deletes the following line as well.
upvoted 0 times
...
Loren
2 months ago
I think the answer is C) 2dd. Deleting two lines makes sense, and the 2dd command seems the most straightforward way to do it.
upvoted 0 times
Alease
27 days ago
No, it's definitely 2dd. That's the command to delete two lines.
upvoted 0 times
...
Janella
1 months ago
I think it's d2, not 2dd.
upvoted 0 times
...
Jame
2 months ago
I agree, 2dd is the correct answer.
upvoted 0 times
...
...
Tyra
3 months ago
I'm not sure, but I think it's either A) d2 or C) 2dd.
upvoted 0 times
...
Nancey
3 months ago
I agree with Yasuko, because '2dd' deletes two lines.
upvoted 0 times
...
Yasuko
3 months ago
I think the answer is C) 2dd.
upvoted 0 times
...

Save Cancel