January 9, 2008

Delete all the text in a file in vi

Go to the start of the file and type not in edit mode and type dG