LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   run everytime i start the computer (https://www.linuxquestions.org/questions/ubuntu-63/run-everytime-i-start-the-computer-549862/)

sagar.1986 04-29-2007 01:49 AM

run everytime i start the computer
 
Hello everyone,

How do i run a script everytime i start the computer? Whenever i start bash, .bashrc will be executed, is there any such script so that i can append my script to that file so that it runs everytime i start the computer?

billymayday 04-29-2007 02:01 AM

On most distros you an put

@reboot /path/to/script_file

in crontab

Patrick K 04-29-2007 07:47 AM

/etc/rc.local is the place. It runs on every boot. Just put in the path above exit 0.


All times are GMT -5. The time now is 06:44 AM.