Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Aug 1997 09:47:48 -0500 (CDT)
From:      "Paul T. Root" <proot@horton.iaces.com>
To:        Jay.Erickson@ibm.net
Cc:        questions@FreeBSD.ORG
Subject:   Re: logout script
Message-ID:  <199708281447.JAA03063@horton.iaces.com>
In-Reply-To: <3405848D.1F38427C@ibm.net> from Jay Erickson at "Aug 28, 97 09:00:45 am"

next in thread | previous in thread | raw e-mail | index | archive | help
In a previous message, Jay Erickson said:
> Is there anyway to modify the exit/logout so it can run another command/script
> before it accualy logs the user out. e.g  clear the screen first

.logout for cshell
.bash_logout for bash

With sh and ksh, you can set a trap that will invoke when you exit. But
I'm a little rusty on doing that.


-- 
                             ,,,
                            (o o)
------------------------oOO--(_)--OOo-----------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708281447.JAA03063>