what are the different delete commands used in vi editor?




Answers were Sorted based on User's Feedback



what are the different delete commands used in vi editor?..

Answer / raam

dd -- for delete line
x - single character deletion
dw - delete word

Raam
ramumcato@yahoo.com

Is This Answer Correct ?    5 Yes 1 No

what are the different delete commands used in vi editor?..

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

Post New Answer




More Vi Editor Interview Questions

What is the difference between lettered buffer and temporary buffer?

2 Answers  


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

5 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 append to buffer?

0 Answers   IBM,


How to append a file to current file?

3 Answers  






How to enter from command mode to insertion mode?

3 Answers  


what are the different delete commands used in vi editor?

2 Answers  


What is the command used to replace many characters?

2 Answers  


Which command is used to replace many characters?

4 Answers  


What is the difference between ZZ and :wq commands?

4 Answers  


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

2 Answers  


what does the c$ command do from command mode?

5 Answers  






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