Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp Path: utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!zeta!sabre!bellcore!decvax!decwrl!sun!guy From: guy@sun.uucp (Guy Harris) Newsgroups: net.unix Subject: Re: #filename Message-ID: <2143@sun.uucp> Date: Tue, 30-Apr-85 00:41:16 EDT Article-I.D.: sun.2143 Posted: Tue Apr 30 00:41:16 1985 Date-Received: Thu, 2-May-85 01:21:44 EDT References: <10141@brl-tgr.ARPA> <55@wcom.UUCP> Organization: Sun Microsystems, Inc. Lines: 23 > > > I recently found out that any filename begining with > > >'#' will be deleted upon logout. ... I haven't been able to > > > find this mentioned in any docuemtation.... > > >know where to find it? > > > > It's on page 3 of "Introduction to the C Shell"... > > It doesn't work with the version of the C-shell distributed with the > IBM PC/AT version of Xenix, though. That's because it has nothing to do with the C shell. 4.2BSD comes with an entry in "crontab" which cleans out files beginning with "#" every night (not upon logout; the C shell tutorial we have here says "The system removes such failes after a couple of days, or sooner if file space becomes very tight."). I presume Xenix doesn't have this crontab entry. If you want this to work, just stick 40 4 * * * find / '(' -name '#*' -o -name '*.CKP' ')' -a -atime +3 -a -exec rm -f {} ';' into "crontab" (the ".CKP" stuff is for the benefit of EMACS users). Guy Harris