home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / shell / 3737 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  835 b 

  1. Path: sparky!uunet!walter!att-out!rutgers!cmcl2!prism.poly.edu!kapela
  2. From: kapela@prism.poly.edu (Theodore S. Kapela)
  3. Newsgroups: comp.unix.shell
  4. Subject: Re: How to empty a file
  5. Message-ID: <1992Sep1.190410.17063@prism.poly.edu>
  6. Date: 1 Sep 92 19:04:10 GMT
  7. References: <BtLLps.But@cs.dal.ca> <1992Aug28.051548.16935@ddsw1.mcs.com> <ahn.714982174@ac>
  8. Organization: Polytechnic University, New York
  9. Lines: 13
  10.  
  11. In article <ahn.714982174@ac> ahn@ac.wfunet.wfu.edu (Dave Ahn) writes:
  12. >
  13. >Try 'touch logfile'
  14.  
  15. This will only leave an empty file if the file does not exist.  If the file
  16. exists, it will only change the access and modification times.
  17.  
  18.  
  19. -- 
  20. ..............................................................................
  21.  Theodore S. Kapela                kapela@poly.edu
  22.  Center for Applied Large-Scale Computing    
  23.  Polytechnic University
  24.