Incoming from Toshiro: > Anybody knows if there is a way to execute some command(s) before logging out > from a gnome session?
Create a ~/.bash_logout (0) keeling /home/keeling_ cat .bash_logout (cd ; date ; uptime ; echo " ") >> /home/keeling/dox/uptime.txt This will be run for every instance of bash that exits, so you may need to wrap what you're doing with conditions. -- Any technology distinguishable from magic is insufficiently advanced. (*) http://www.spots.ab.ca/~keeling - - -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]