1. Computing
Send to a Friend via Email

Discuss in my forum

Run a system command automatically at startup

Ubuntu Documentation

By

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:

    @reboot /home/user/command


        [Note]    
       

    Replace /home/user/command with the full address to your command.

  • Save the file and exit.

* License

* Ubuntu Desktop Guide Index

©2014 About.com. All rights reserved.