On Fri, Feb 21, 2003 at 03:03:57PM +0900 or thereabouts, Nick Hastings wrote: > * Dana J. Laude <[EMAIL PROTECTED]> [030221 14:47]: > > On Thu, Feb 20, 2003 at 09:39:11PM -0500 or thereabouts, Richard Beri wrote: > > > My /var/log/messages and messages.0 are getting very large. messages > > > alone is almost 500 meg. Is is safe to delete these files (I don't] > > > need to read any back error messages). My syslog is also reaching 500 > > > meg ais that safe to be deleted. Will they be auto-created again > > > > If you just want to "reset" the files without a backup, as root > > type in: "touch /var/log/messages". (minus the quotes and the .) > > Won't that just change the access and modification time of the file? > That happens every 20 minutes anyway (-- MARK --). What else does > that achieve?
You're absolutly correct. I normally "rm filename" and then do the above to create a new 0 byte file. Thanks for pointing that out. Dana -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]