Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam 101-500 topic 1 question 38 discussion

Actual exam question from LPI's 101-500
Question #: 38
Topic #: 1
[All 101-500 Questions]

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

  • A. d2
  • B. 2d
  • C. 2dd
  • D. dd2
  • E. de12
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
mriron
Highly Voted 3 years, 4 months ago
2dd is correct answer
upvoted 12 times
mvpVN
3 years, 2 months ago
Correct. 2dd deletes two lines the cursor is on
upvoted 5 times
...
...
Ninymo
Most Recent 1 month ago
Answer: C
upvoted 1 times
...
kipngge
1 year, 9 months ago
Answer is 2dd https://linuxize.com/post/vim-delete-line/
upvoted 1 times
...
aMiPL
3 years ago
2dd easy to test in vi. Correct! If you press one 'd' it won't do anything.
upvoted 3 times
...
demarko
3 years, 4 months ago
Answer is B = 2d
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...