2-Minute Linux Tips
Learn how to use a host of Linux commands in these 2-minute video tutorials from Sandra Henry-Stocker, author of the Unix as a Second Language blog.
How to empty a file in Linux without deleting the file
Overview
In this Linux tip, we’re going to look at the easiest way to empty a file of its contents while not deleting the file. All you have to do is point a greater-than sign at a file and its contents are removed.




