cleaning out files

Jan Grant Jan.Grant at bristol.ac.uk
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. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
stty intr ^m



More information about the freebsd-questions mailing list