Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

delete whole line in vi

#In vi command mode (press ESC)
dd #Deletes the currently selected line
#To save the document in command mode press shift + ZZ
 
PREVIOUS NEXT
Tagged: #delete #line #vi
ADD COMMENT
Topic
Name
4+1 =