> From: George Sexton [mailto:geor...@mhsoftware.com] > Subject: RE: Clearing the catalina.out file > > rm catalina.out
Which is an unlink, not an erase; all the suggestions so far have been for truncation. An inode and its associated data blocks are never discarded until the busy count goes to zero regardless of the link count; this means it hangs around until everyone using it has done a close(). For stdout, that won't happen until the process terminates or explicit calls are made to fiddle with it. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.