dcsimg
Linux Today: Linux News On Internet Time.




More on LinuxToday


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

Jul 02, 2019, 12:00 (0 Talkback[s])
(Other stories by Tecmint)

WEBINAR:
On-Demand

Desktop-as-a-Service Designed for Any Cloud ? Nutanix Frame


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 a frequently used operation, its a good practice to know or learn it.

Complete Story

Related Stories: