[Gllug] Run script on last logout

Jon Dye jon at pecorous.co.uk
Wed Jul 18 09:08:31 UTC 2007


Hi,

I would like to run a command/script from my .bash_logout file but only
when exiting the last login to the machine (by that user).  Can anyone
suggest a way of detecting the last logout (or an alternative from using
.bash_logout)?

JD

-- 
"They hang out in groups of five. That's because they have one fifth of
a personality each. "
		- Eddie Izzard

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 257 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20070718/0f34a009/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list