Skip to content
Advertisement

How can I run two programs at the same time, but when they are in different directories? (Tcsh shell)

https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-xpf1/v/t34.0-12/10552001_889617264385887_1227118886_n.jpg?oh=427fdd64a4b7ff8f15436138ee891c12&oe=53CB7A3D&gda=1405839405_dca202c38f41ec98c45bad334e57ad6b

I want to run both of the run.sh files

I’m really new to Linux so could someone just spell this out for me. I know that I’d have to go into one of the directories and say

./run.sh & (insert something) &

Could someone help me out please

Would it be something like:

./run.sh & Parallella/parallella-examples/aobench/./run.sh &`

?

Advertisement

Answer

You can start the commands like this:

(./run.sh &) && (cd Parallella/parallella-examples/aobench; ./run.sh &)
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement