Answers for "delete whole line in vi"

0

delete all lines in vi

#in command mode
gg #takes you to the first line
dG #deletes all
Posted by: Guest on June-14-2021
0

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
Posted by: Guest on July-01-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language