RHEL, start up script

I am using RHEL 5.6

I want to write a script that will execute upon boot up

Does this funciton exist in Linux

What is the name of the file and path that I need
Los Angeles1Asked:
Who is Participating?
 
legolasthehansyCommented:
Try to put this in /etc/rc.local
You can also put it in /etc/rc3.d (if your server starts in Run level 3) or /etc/rc5.d (if it starts up the GUI mode on startup)
Only thing you would have to do though would be to create a soft link to your script from here.

If in /etc/rc3.d
then do this -
cd /etc/rc3.d
ln -s /home/user/startupscript.sh S99Startme
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.