LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 06-11-2008, 02:35 AM   #1
saheelahamed
LQ Newbie
 
Registered: Jul 2007
Location: Bangalore
Posts: 25

Rep: Reputation: 15
running script after boot process in linux


Hello every on

I want to run a simple script hello on boot up of linux ,i want to know where should i keep this script so that it will execute automatically when system boots up.

any help is appreciable,

Thanks
Saheel
 
Old 06-11-2008, 04:10 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

If it's a RedHat type system (RHEL, Fedora, SuSe etc), you can call the script from /etc/rc.d/rc.local

If it's a Debian based system, have a look here:
http://www.debian.org/doc/FAQ/ch-customizing.en.html

Dave
 
  


Reply

Tags
boot, process


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
How to stop a process running in background (on a shell script) Azk00 Linux - Newbie 3 02-01-2008 05:24 AM
Stop process while running script azazel11998 Programming 1 07-01-2007 05:12 AM
Script to see if a process ir running, if not start it ncsuapex Programming 4 07-03-2005 02:27 PM
script to check if process is dead or running rspurlock *BSD 6 04-13-2004 12:32 AM
[script] check for a running process mikshaw Linux - Software 2 01-13-2004 09:33 PM


All times are GMT -5. The time now is 12: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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration