Monday, September 3, 2012

How do you empty or flush all contents of a file without removing it in UNIX?

Prefix the file with ">" and "space" at command line.

> <FileName>

No comments :