This construct in my ~/.profile
trap ’
#Do something at logout
bla-bla-bla
’ 0
catches if one types “exit” from the shell, but not if one issues the
“logout”.
Why?
How do I modify ~/.profile to catch the "logout"s too?
Tony.
This construct in my ~/.profile
trap ’
#Do something at logout
bla-bla-bla
’ 0
catches if one types “exit” from the shell, but not if one issues the
“logout”.
Why?
How do I modify ~/.profile to catch the "logout"s too?
Tony.