Executing scripts on Linux boot: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

6 October 2024

  • curprev 22:2922:29, 6 October 2024413vhcu1lq0463ob talk contribs 514 bytes +514 Created page with "To execute a command as soon as the Linux boot you can simply put it on the /etc/rc.local file. Usually this file doesn't exists by default so you can create the file and grant execution privileges to it like: ls -l /etc/rc.local || touch /etc/rc.local ; chmod +x /etc/rc.local First check if the file exists, if exists ok, nothing to do here, if not we're creating the file after all adding the execution permission. IMPORTANT Always remember to put the bang at the be..."