Run two shell file with thread

Posted by user1149157 on Ask Ubuntu See other posts from Ask Ubuntu or by user1149157
Published on 2012-03-29T09:34:54Z Indexed on 2012/03/29 11:42 UTC
Read the original article Hit count: 124

Filed under:

How i can run two file shell in parallel and do not shared the same jvm. may be i use thread but how i run two file shell bu two thread ? File 1:

#!/bin/bash
#
# Script for running several experimentations one the same JVM
# Usage : TRACE_DIR NB_EXPE Factories... 
#

param="parameter1"
another="parameter2"

for ((i = 10; i >= 0; i -= 1))
do
echo "run my file with param another " 
done  

File 2 :

#!/bin/bash
#
# Script for running several experimentations one the same JVM
# Usage : TRACE_DIR NB_EXPE Factories... 
#

a="101" b="400" c="500"

echo "run my programme with a b c "

© Ask Ubuntu or respective owner

Related posts about bash