LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to include program at the start up (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-include-program-at-the-start-up-918018/)

dhanasekaran 12-10-2011 04:22 AM

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?

raju.mopidevi 12-10-2011 05:08 AM

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

raju.mopidevi 12-10-2011 05:15 AM

refer to ~/.bash_profile of this page


All times are GMT -5. The time now is 10:53 PM.