How to Run script on Linux start with rc.local

27 January,2012 by Tom Collins

A quick method to use for executing a script on Linux  start.

After all the other processes are started by the init command at boot time, the  script is run on Red Hat  based systems:

 

/etc/rc.d/rc.local

 

Add  any extra script\commands references  to this file.

See Also


db2start at start up on Linux

Author: Rambler(http://www.dba-db2.com)

Share:

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment on How to Run script on Linux start with rc.local

Comments are moderated, and will not appear until the author has approved them.


dba-db2.com | DB2 Performance Tuning | DBA DB2:Everything | FAQ | Contact | Copyright