Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Do all the scripts that are run in rc.local display results on the terminal or do they just run in the background?

What if I want the scripts to run before the startup and wait for the user input to continue? Is it possible? (I'm running these scripts on remote server)

share|improve this question

1 Answer 1

The scripts are not associated with a terminal so they do not display their results there (which does not necessarily mean they run in the background)

The solution will vary a bit depending on your setup. I have not tried it, but on Fedora or similar you may want to try making your script as an "init" script and dumping it in /etc/rc.d/init.d [depending on your OS]

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.