Linux Running Commands on Startup
Here is what to do to run a simple bash command on start up. Edit the file /etc/rc.local
sudo nano /etc/rc.local
Then add your command to the file before the exit. Remember to use complete file paths as ROOT will be the user to execute.
Comments
Post a Comment