home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!rexago8!aa
- From: aa@rexago8.uucp (Adam Andrews)
- Subject: Re: logout message
- Message-ID: <1992Aug27.125257.28363@rexago8.uucp>
- Organization: Summit Information Systems
- References: <3504@babcock.cerc.wvu.wvnet.edu>
- Date: Thu, 27 Aug 1992 12:52:57 GMT
- Lines: 16
-
- hongman@cathedral.cerc.wvu.wvnet.edu (Guo Hongman) writes:
- > Can anyone tell how to display some message when I logout?
-
- In SysV, include in your .profile:
-
- trap 'yourprog' 0
-
- where yourprog is a program or script which prints out a message.
-
- (the action of 'trap 0' is executed when the current process is exited)
-
-
- --
- -------------------------------------------------------------------------------
- Adam Andrews "When the going gets weird, we get even weirder."
- uunet!rexago8!aa or aa@rexago8.UUCP
-