LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 02:38 AM   #1
hamidi2
Member
 
Registered: Aug 2012
Posts: 63

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, 07:02 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
That link mentions Ubuntu explicitly; what problem are you having ..?
 
Old 10-21-2012, 08:30 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,328
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
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



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 05:58 PM
Autoexec.bat in Linux? sikandar Linux - Software 10 08-31-2003 12:30 PM
autoexec.bat analogous for linux?.... amod Linux - Newbie 2 06-18-2003 05:49 AM
Autoexec.bat Equivalent dwpondscum Linux - Distributions 5 06-16-2003 09:51 AM
The Linux version of autoexec.bat ??? Canaris Linux - Newbie 9 05-27-2003 07:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:55 PM.

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
Open Source Consulting | Domain Registration