home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!cs.utexas.edu!torn!utzoo!dciem!r-node!pseudo!mjn
- From: mjn@pseudo.uucp (Murray Nesbitt)
- Newsgroups: comp.unix.questions
- Subject: Re: logout message
- Message-ID: <MJN.92Aug31003808@pseudo.uucp>
- Date: 31 Aug 92 08:38:08 GMT
- References: <3504@babcock.cerc.wvu.wvnet.edu> <2231@fnnews.fnal.gov>
- Sender: mjn@pseudo.uucp (Murray Nesbitt)
- Organization: Private system in Toronto, ON
- Lines: 17
- In-Reply-To: shah@fnsony.fnal.gov's message of 27 Aug 92 17:47:02 GMT
-
-
- shah@fnsony.fnal.gov (Hemant Shah) writes:
-
- >In article <3504@babcock.cerc.wvu.wvnet.edu>, hongman@cathedral.cerc.wvu.wvnet.edu (Guo Hongman) writes:
- >|>
- >|> Can anyone tell how to display some message when I logout?
- >
- >Create ".logout" file in your home directory. It will be executed when you
- >logout.
-
- This will only work with a certain shell (and its derivatives), which
- shall remain nameless.
-
- For the Bourne shell and its derivatives, use the ``trap'' command.
-
- --
- Murray
-