LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   how can execute some commands when a user logs out (https://www.linuxquestions.org/questions/programming-9/how-can-execute-some-commands-when-a-user-logs-out-185707/)

rddreamz 05-25-2004 12:38 PM

how can execute some commands when a user logs out
 
hi, i want to execute a set of commands when a user logs out.how can i do that?
thanks

keefaz 05-25-2004 12:41 PM

Maybe with edit a .bash_logout in the user directory

[ edit ]
...but only works if the user shell is bash I don't know the procedure for other shell

infamous41md 05-25-2004 03:00 PM

csh is ~/.logout , just read the man page for w/e shell u r using and search for logout.


All times are GMT -5. The time now is 06:50 AM.