How to run a script on shut down
Erik Christiansen
dvalin at internode.on.net
Wed Nov 26 23:59:58 UTC 2008
On Wed, Nov 26, 2008 at 11:57:58AM -0800, Ray Parrish wrote:
> >
> Thanks for your reply. I'll be doing a bit of studying to figure out
> what you've told me before I'll be able to do it, but I'm sure I'll
> figure it out from here with that information.
If the script only needs to run when you finish up, and especially if
you sometimes leave the machine running after logging out, Paul's
suggestion of using .bash_logout would seem to better meet your needs on
this occasion. (And it's a little simpler. :-)
Erik
More information about the ubuntu-users
mailing list