>homebrew: cp logfile logfile.$TODAY && cp /dev/null logile It's probably better to use touch logfile instead of cp /dev/null logfile on the outside chance that something has actually been written to the log file. Also, usually, this is done with the 'mv' command, which is faster and less likely to result in more data piling up in the old logfile. So what I'd suggest looks more like: mv logfile logfile.$TODAY && touch logfile mjr. (a bit rusty with UNIX...) --- Marcus J. Ranum Chief Technology Officer, NFR Security, Inc. Work: http://www.nfr.com Personal: http://www.ranum.com --------------------------------------------------------------------- To unsubscribe, e-mail: loganalysis-unsubscribeat_private For additional commands, e-mail: loganalysis-helpat_private
This archive was generated by hypermail 2b30 : Thu Sep 13 2001 - 10:18:55 PDT