Linux - Execute a script at startup in ubuntu, Set startup script in ubuntu

Execute a script at startup in ubuntu

Command for Startup of Ubuntu
Edit /etc/rc.local and add your commands
The script must be ends with "exit 0"

Command for Rebooting Ubuntu
Put your script in /etc/rc0.d
Make it runable (sudo chmod +x myscript)
The name of your script must begin with K99 and run at the right time.

Command for shutdown Ubuntu
Put your script in /etc/rc6.d
Make it runable (sudo chmod +x myscript)
The name of your script must begin with K99 and run at the right time.

The topic on Linux - Execute a script at startup in ubuntu is posted by - Math

Hope you have enjoyed, Linux - Execute a script at startup in ubuntuThanks for your time

Tech Bluff