LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   bash script help please (https://www.linuxquestions.org/questions/linux-newbie-8/bash-script-help-please-247152/)

poiuytrewq 10-25-2004 01:34 PM

bash script help please
 
hi, im writing a bash scrip and woudl love some help.

currently i have
Code:

                cd /usr/share/shoutcast/sc_serv/
                ./sc_serv
                sleep 5s
                cd /usr/share/shoutcast/sc_trans_linux/
                ./sc_trans_linux

the only problem, is the script will not move on until the execution of a line is complete, but i am hoping to have both programs running at once, how do i make the script continue whilst leaving sc_serv running?

thanks

Tinkster 10-25-2004 01:38 PM

Start it with an ampersand at the end ...


Cheers,
Tink

poiuytrewq 10-25-2004 01:39 PM

oh duh, thanks man

Tinkster 10-25-2004 01:48 PM

Pleasure ;)


All times are GMT -5. The time now is 05:31 AM.