cleaning out files

Jan Grant Jan.Grant at
Fri Apr 4 06:38:18 PST 2003

On Fri, 4 Apr 2003, CARTER Anthony wrote:

> How do I clean the contents of text files without actually removing the files?

man 1 truncate

This is a command-line utility that directly wraps the appropriate
system call.

jan grant, ILRT, University of Bristol.
Tel +44(0)117 9287088 Fax +44 (0)117 9287112
stty intr ^m

More information about the freebsd-questions mailing list