LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Start programs from a shell script (https://www.linuxquestions.org/questions/linux-newbie-8/start-programs-from-a-shell-script-318390/)

paraiso 04-29-2005 06:03 AM

Start programs from a shell script
 
How could I start at the same time several programs using a shell script ?

Thanks !

vishamr2000 04-29-2005 06:12 AM

Hi,

You can put the '&' at the end of the of each program you wish to start.

The '&' actually runs the progra inthe background.

Hope it helps...

Regards,
Visham

paraiso 04-29-2005 06:27 AM

Thank you vishamr2000 I just tried your suggestion and it works perfectly. I have some of those programs which need to be started as root. Is that possible to do that from the shell script ?

theYinYeti 04-29-2005 09:00 AM

Yes. Enter 'sudo <your command>', and configure sudo to allow the right user to execute the right commands as root without entering a password.

Yves.

paraiso 04-29-2005 09:41 AM

Merci Yves! I 'm gonna have a look a bit closer to see how it gets configured.


All times are GMT -5. The time now is 10:36 AM.