Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!pacbell.com!ucsd!sdcc6!sdcc13!ghong From: ghong@sdcc13.ucsd.edu (Gary) Newsgroups: comp.unix.xenix.sco Subject: Emptying a file Message-ID: <15274@sdcc6.ucsd.edu> Date: 7 Jan 91 19:54:52 GMT Sender: news@sdcc6.ucsd.edu Organization: University of California, San Diego Lines: 9 Nntp-Posting-Host: sdcc13.ucsd.edu 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 where is the name of the file. Note that the time/date stamp on the file will be altered. Gary Hong