is there any way by which we can run utility on logging out.
There is a server which has account of many users. Now If I login to that server I can put utilities in .bashrc, but I want to kill processes automatically ( which were started by me ) when I logged out. So is there any way?
I can only access that server using terminal ( command line utility i.e. no gui access ).
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
|
|||||||
|
|
Sure. Make a script that:
Set that script to the the user's login shell. That should do what you want. |
|||
|
|
