Executing Linux Scripts at Logon and Logout
To execute a script at logon or logout, use
~.bash_profile
and ~.bash_logout
, respectively. Most likely, you will need to create the latter file manually. Just drop a line invoking your script at the bottom of each file in the same fashion as before and you are ready to go.'via Blog this'
No comments:
Post a Comment