Running scripts at startup

If you want to run a command or a script you wrote and have it run in the background every time Ubuntu starts, then simply add the script to the rc.local file. Make sure your script is executable, and then simply insert the full path of the script into the rc.local file. The rc.local file is in the /etc/ directory for Centos and in /etc/init.d/ for Ubuntu. If you want to reload the rc.local startup file, without restarting your computer,...

Read More