In an attempt to execute a script when a user logs out from a shell session, I added
trap SCRIPT 0 1 2 15;
in .profile..
Why is it not working?
|
|
|
The different shells run different files on logout - you can execute your script from one of these files, depending on you shell:
|
|||||||||||||
|