home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / question / 10448 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  833 b 

  1. Path: sparky!uunet!auspex-gw!guy
  2. From: guy@Auspex.COM (Guy Harris)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: logout message
  5. Message-ID: <14332@auspex-gw.auspex.com>
  6. Date: 27 Aug 92 21:45:29 GMT
  7. References: <3504@babcock.cerc.wvu.wvnet.edu>
  8. Sender: news@auspex-gw.auspex.com
  9. Organization: Auspex Systems, Santa Clara
  10. Lines: 12
  11. Nntp-Posting-Host: bootme.auspex.com
  12.  
  13. > Can anyone tell how to display some message when I logout?
  14.  
  15. Several people apparently can; however, not all of them are telling the
  16. original poster the same thing.
  17.  
  18. The "trap 0" answer is for users of the Bourne shell and compatibles
  19. (Korn shell, Bourne-again shell, etc.).
  20.  
  21. The ".logout" answer is for users of the C shell and compatibles.
  22.  
  23. Remember, your environment might not be the same as the original
  24. poster's (different shell, different UNIX flavor, etc.).
  25.