1.

Which of the following command is used to delete a single line?(a) dd(b) x(c) X(d) dI had been asked this question in homework.My question is taken from Editing Text in Vi Editor topic in division The Vi Editor of Unix

Answer»

Correct ANSWER is (a) DD

For explanation: We can delete ENTIRE LINES with ‘dd’ command. Just move the cursor ANYWHERE on the line and press ‘dd’ and the entire line will be deleted.



Discussion

No Comment Found

Related InterviewSolutions