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 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
3 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
3 months ago
Yeah, 2dd is so efficient for deleting multiple lines at once.
upvoted 0 times
...
Merri
3 months ago
I agree, 2dd is definitely the way to go for deleting two lines.
upvoted 0 times
...
...
Nichelle
3 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
3 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
2 months ago
Agreed, 2d is the way to go for deleting two lines.
upvoted 0 times
...
Rikki
2 months ago
Yeah, it's definitely the most efficient option.
upvoted 0 times
...
Aja
2 months ago
I think B) 2d is the right choice too.
upvoted 0 times
...
...
Freida
3 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
2 months ago
I think D) dd2 is incorrect, it should be C) 2dd.
upvoted 0 times
...
Lucia
2 months ago
I'm not sure, but I think D) dd2 might be the correct option.
upvoted 0 times
...
Layla
2 months ago
I agree, deleting two lines with 2dd makes sense.
upvoted 0 times
...
Hortencia
3 months ago
I think the answer is C) 2dd.
upvoted 0 times
...
...
Jettie
4 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
4 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
2 months ago
No, it's definitely 2dd. That's the command to delete two lines.
upvoted 0 times
...
Janella
2 months ago
I think it's d2, not 2dd.
upvoted 0 times
...
Jame
3 months ago
I agree, 2dd is the correct answer.
upvoted 0 times
...
...
Tyra
4 months ago
I'm not sure, but I think it's either A) d2 or C) 2dd.
upvoted 0 times
...
Nancey
4 months ago
I agree with Yasuko, because '2dd' deletes two lines.
upvoted 0 times
...
Yasuko
4 months ago
I think the answer is C) 2dd.
upvoted 0 times
...

Save Cancel