Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

delete all lines in vi

#in command mode
gg #takes you to the first line
dG #deletes all 
 
PREVIOUS NEXT
Tagged: #delete #lines #vi
ADD COMMENT
Topic
Name
9+4 =