Run a system command automatically at startup
Sometimes it can be useful to add a custom command to the startup process so that your computer executes it on every boot. To do this:
Edit the crontab with administrative privileges (see the section called "Root And Sudo"):
sudo crontab -e
Insert the following line:
Replace /home/user/command with the full address to your command.
Save the file and exit.