LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 01-11-2009, 10:58 PM   #1
pjpunnoose
LQ Newbie
 
Registered: May 2008
Posts: 19

Rep: Reputation: 0
starting my program from the boot


Hi all,
i want to execute my program from the boot time,like specicfing the path in autoexec.bat in windows.Waht is the equivalent of that in linux
with regards
Punnoose
 
Old 01-11-2009, 11:10 PM   #2
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Rep: Reputation: 51
Just put the script into:

/etc/rc.d/rc.local

For example :

If you want to start subversion daemon called svnserve -d everytime the reboot happens

just go to last line of the file and add a line:

svnserve -d


Thats gonna work.
hope it helps
 
  


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
starting a program automatically at boot up babu198649 Linux - Newbie 8 01-24-2008 01:59 AM
Starting program during boot-process with option to do not so ... ruh31 Debian 6 02-10-2006 02:41 AM
Won't Boot - Starting Printer Service - Starting CUPS jeansond Linux - Newbie 0 10-11-2004 07:39 PM
Question on starting program at boot satimis *BSD 2 04-05-2004 12:41 PM
Starting a program at boot bkmesenbrink Linux - Newbie 3 08-07-2002 03:30 PM


All times are GMT -5. The time now is 07:27 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