xxxxxxxxxx
# Basic syntax:
dd
# Note, add a number in from of dd to delete that many lines, e.g.:
5dd # Delete the next 5 lines
xxxxxxxxxx
#In vi command mode (press ESC)
dd #Deletes the currently selected line
#To save the document in command mode press shift + ZZ