sivesh@rebels.ingr.com (sivesh pradhaan) (12/12/90)
does any one kmow if ksh executes any file when you logout of it? If yes then what's the name of this file? If no then how does one get ksh to execute a few stuffs right before it exits? I guess one simple solution would be alias lo='some_stuffs; exit' Is there any better way of doing this? -Sivesh
lcz@sat.datapoint.com (Lee Ziegenhals) (12/15/90)
sivesh@rebels.ingr.com (sivesh pradhaan) writes: >does any one kmow if ksh executes any file when you logout of it? I put the following line in my .profile: trap '$HOME/.logout' EXIT The EXIT condition causes the specified command to be executed when ksh exits.