How to run a script on startup in Linux?

There are multiple ways you can execute a script or command on startup in Linux.

Using crontab:

Using rc.local:

Using init.d:

Leave a Reply