Emptying a file

Gary ghong at sdcc13.ucsd.edu
Tue Jan 8 06:54:52 AEST 1991


There is an easier way of emptying a file which is much simplier
than the solutions that I have seen so far.  Just use:

touch <filename>

where <filename> is the name of the file.  Note that the time/date
stamp on the file will be altered.

Gary Hong



More information about the Comp.unix.xenix.sco mailing list