how to delete entire contents of file using vi editor once
how to delete entire contents of file using vi editor once ?
|
If you're in the first line of the file, use dG
If you're anywhere in the file, use :1,$d |
All times are GMT -5. The time now is 07:14 PM. |