LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-22-2008, 03:51 PM   #1
vinbase
LQ Newbie
 
Registered: Jan 2008
Posts: 3

Rep: Reputation: 0
Excuete command when the server boots


Hello,

I want to run this command everytime when the server boots

" nohup /path/./script.sh start & "

How can I do that.

Can anyone guide me plesae.
Thank you.
 
Old 01-22-2008, 04:05 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Add it to your rc.local file.
 
Old 01-22-2008, 04:26 PM   #3
vinbase
LQ Newbie
 
Registered: Jan 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you very much!

Regards,
Xectop.
 
  


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
Boots to command line only? AndeAnderson Mandriva 25 04-21-2007 10:58 PM
only boots in command prompt JoeUser11 Red Hat 3 01-10-2005 10:51 PM
MDK 10.0 now boots to a command line ZaZu Linux - Networking 2 09-01-2004 03:26 AM
boots to command but I need GUI coopns Linux - Newbie 9 05-27-2004 12:34 PM
Another boots into command prompt question Jhorra Mandriva 5 04-03-2004 01:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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