D dmmcintyre3 macrumors 68020 Original poster Mar 4, 2007 2,131 3 Apr 17, 2009 #1 Can you run two things simotaniously via one shell script?
mason.kramer macrumors 6502 Apr 16, 2007 270 18 Watertown, MA Apr 17, 2009 #2 Simultaneously, I think you mean. You can background the first task with &. #!/bin/bash sleep 5 echo after sleep, the echo ------ #!/bin/bash sleep 5 & echo echoing immediately
Simultaneously, I think you mean. You can background the first task with &. #!/bin/bash sleep 5 echo after sleep, the echo ------ #!/bin/bash sleep 5 & echo echoing immediately