what is the command used to delete current line in vi
editor?




Answers were Sorted based on User's Feedback



what is the command used to delete current line in vi editor?..

Answer / debjyoti mukherjee

press ESC
Then press d two times

Is This Answer Correct ?    9 Yes 0 No

what is the command used to delete current line in vi editor?..

Answer / sourisengupta

dd command

Is This Answer Correct ?    7 Yes 0 No

Post New Answer




More Vi Editor Interview Questions

What does the /text command do?

4 Answers  


What is the command used to replace many characters?

2 Answers  


what is the command used to append text after current line?

3 Answers  


How to replace String "a" with String "b" in whole file of the vi editor?

10 Answers   Niksun,


What is the command used to display line numbers in vi editor?

5 Answers  






What is the difference between ZZ and :wq commands?

4 Answers  


what does the c$ command do from command mode?

5 Answers  


what is the command used to set margin in vi editor?

2 Answers  


what are the two different modes in vi editor?

7 Answers  


What is the format of vi command?

2 Answers  


How to enter from command mode to insertion mode?

3 Answers  


What is the difference between lettered buffer and temporary buffer?

2 Answers  






Categories
  • Vi Editor Interview Questions Vi Editor (21)
  • Visual Studio IDE Interview Questions Visual Studio IDE (207)
  • Editors AllOther Interview Questions Editors AllOther (1)