InterviewSolution
Saved Bookmarks
| 1. |
Which of the following commands will be used to delete 6 lines from the current cursor location?(a) 6d(b) 6X(c) 6dd(d) 6xThis question was posed to me in my homework.My enquiry is from Editing Text in Vi Editor in division The Vi Editor of Unix |
|
Answer» RIGHT answer is (C) 6dd Best explanation: ‘dd’ command can be used with repeat factor to delete multiple LINES at a single TIME. 6dd will delete the current line and 5 lines below. |
|