Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 07-07-2004, 06:19 AM   #1
LQ Newbie
Registered: Apr 2004
Location: Middle East
Distribution: RH9
Posts: 23

Rep: Reputation: 15
start program on startup

I am running RED-HAT 7.0 and it doesn't run X !!!

I am interested in starting a "hello world" program on startup.
I tried to add a line in /etc/rc.d/rc.local at the end of the file
but when I reboot the program runs before the startup process ends and only when the "hello world" finishes I can see [root/localhost /root]#

Is there any other way to get my program start automatically write after [root/localhost /root]# ???

thanx - HTS.
Old 07-07-2004, 06:33 AM   #2
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,292

Rep: Reputation: 65
add it to the end of your /root/.bashrc
Old 07-08-2004, 12:22 AM   #3
LQ Newbie
Registered: Apr 2004
Location: Middle East
Distribution: RH9
Posts: 23

Original Poster
Rep: Reputation: 15
works great!

thanks a lot. That works great.


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 do I automatically start a program at start up? victordh Linux - General 7 10-27-2013 06:02 AM
How Do I Get A Program to Start at the Machine Startup andy1.52 Linux - Software 1 03-03-2005 09:33 AM
getting a program to startup Cyric Slackware 4 10-23-2004 06:50 AM
how to make a program start on startup Maver Linux - Software 9 06-13-2004 05:54 PM
start a program at startup. abhay Slackware 3 10-14-2003 01:02 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:04 AM.

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