How to Delete all Text in a File Using Vi/Vim Editor

Vim is a great tool for editing text or configuration files in Linux. One of the lesser-known Vim tricks is clearing or deleting all text or lines in a file. Although, this is not...

from Tecmint: Linux Howtos, Tutorials & Guides https://www.tecmint.com/delete-all-text-in-a-file-using-vi-editor/

Posted in Uncategorized and tagged , .

Leave a Reply

Your email address will not be published. Required fields are marked *