LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-21-2012, 03:38 AM   #1
hamidi2
Member
 
Registered: Aug 2012
Posts: 61

Rep: Reputation: Disabled
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?
 
Old 10-21-2012, 08:02 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
That link mentions Ubuntu explicitly; what problem are you having ..?
 
Old 10-21-2012, 09:30 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,342
Blog Entries: 12

Rep: Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730
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
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there an equivalent of autoexec.bat in debian? Akhran Debian 5 09-13-2005 06:58 PM
Autoexec.bat in Linux? sikandar Linux - Software 10 08-31-2003 01:30 PM
autoexec.bat analogous for linux?.... amod Linux - Newbie 2 06-18-2003 06:49 AM
Autoexec.bat Equivalent dwpondscum Linux - Distributions 5 06-16-2003 10:51 AM
The Linux version of autoexec.bat ??? Canaris Linux - Newbie 9 05-27-2003 08:35 AM


All times are GMT -5. The time now is 12:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration