LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   910730 - where's autoexec.bat? :D (https://www.linuxquestions.org/questions/linux-newbie-8/910730-wheres-autoexec-bat-d-4175433309/)

hamidi2 10-21-2012 02:38 AM

910730 - where's autoexec.bat? :D
 
hi
i've googlized for this problem and found this:
http://smallbusiness.chron.com/run-c...nux-27796.html
but it seems that in ubuntu it's a bit different.
i need to run:
xxx.pl start
at startup of linux. i need it to be run as well as linux get started, either someone login or not. so it must not be at startup of a user script.
what's the best way to do this?

chrism01 10-21-2012 07:02 PM

That link mentions Ubuntu explicitly; what problem are you having ..?

frankbell 10-21-2012 08:30 PM

The classic Linux solution is to put it in your /etc/rc.local file (although not all distros put rc.local directly in /etc. Sometimes it's in a subdirectory of /etc.

I don't have a copy of Ubuntu to double-check this, but this forum thread seems to support it:

http://nixcraft.com/ubuntu-debian/17...-boots-up.html


All times are GMT -5. The time now is 04:23 AM.