LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-10-2011, 05:22 AM   #1
dhanasekaran
LQ Newbie
 
Registered: Dec 2011
Posts: 1

Rep: Reputation: Disabled
how to include program at the start up


hello.,
this is my first linux question

i am working on rhel 5.0..
and am doing socket programming using udp protocol...

usually i ll run the program in terminal by givving ./a.out...

but how to automatiaclly run the programm as soon as my system booted up?
 
Old 12-10-2011, 06:08 AM   #2
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Rep: Reputation: 92
Hi, Welcome to LQ.

You have to edit your .bash or .bash_profile to run a program at startup.

To know more about these bash files ... click here

Last edited by raju.mopidevi; 12-10-2011 at 06:11 AM.
 
Old 12-10-2011, 06:15 AM   #3
raju.mopidevi
Senior Member
 
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Rep: Reputation: 92
refer to ~/.bash_profile of this page
 
  


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
How to include files from other directories in a program? kirit.makwana Programming 2 05-20-2009 02:26 PM
include image into the program? cxfun12 Programming 3 08-20-2008 07:12 AM
How to include a program on a Linux distribution? antoniog Linux - Newbie 5 09-03-2007 02:41 PM
not able to include archived C library into my program gauravsahni Programming 4 11-15-2004 03:30 AM
include a library in program calble Programming 1 10-09-2003 01:59 PM

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

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