what are the different delete commands used in vi editor?
Answers were Sorted based on User's Feedback
Answer / sourisengupta
dd -- for delete line
ndd -- for delete n no of linesfrom the current cursor
position(n=any number)
x -- single character deletion
dw -- delete word
| Is This Answer Correct ? | 1 Yes | 0 No |
How to return to shell without leaving vi editor?
What is the format of vi command?
How to append a file to current file?
What is the command used to display line numbers in vi editor?
what are the two different modes in vi editor?
what is the command used to delete current line in vi editor?
what does the c$ command do from command mode?
what is the command used to set margin in vi editor?
What is the difference between ZZ and :wq commands?
What is the command used to replace many characters?
what is the command used to append text after current line?
What does the /text command do?