I just want to run a very simple command on startup. How can I do that? I've searched google and it has very complicated examples, but what I need is just run this script on startup. How can I do that?
Script
./init.d/opscenter-agent start
|
|
|
If you want to do this as system startup (as opposed to when you log in to your computer), put the commands you want to run in |
|||
|
|
|
If the script does not need to be run by root, you can do this: 1) Open "Startup Applications Preferences" (Alt + F2 and paste 2) Press "Add" and select your script:
If you are not using a graphical environment, you can put the commands just before the line |
||||