Blog Archive

Saturday, December 30, 2017

How to Auto Execute Commands/Scripts During Reboot or Startup

How to Auto Execute Commands/Scripts During Reboot or Startup:



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