1

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 &`

?

user3666197
  • 1
  • 6
  • 50
  • 92
  • If you are new to Linux, this is the perfect time to reconsider your shell. There are very good reasons to avoid the csh family, as their use may cause serious psychological damage. If you do not have a very substantial reason for needing to use tcsh, you would be better off starting with bash, or any other Bourne shell variant. – William Pursell Jul 18 '14 at 15:12

1 Answers1

1

You can start the commands like this:

(./run.sh &) && (cd Parallella/parallella-examples/aobench; ./run.sh &)
hek2mgl
  • 152,036
  • 28
  • 249
  • 266
  • Sorry, I'm new to linux so I'm not really sure what you mean by CWD=/path/to run2.sh &. Would it be this? ./run.sh & Parallella/parallella-examples/aobench/./run.sh & – user3853033 Jul 18 '14 at 14:34
  • It worked when I at the end, I put "./run.sh &" instead of "run.sh &". It still should be running simultaneously right? – user3853033 Jul 18 '14 at 14:51
  • Oh yes, missed the dot. Yes, it runs simultaneously. – hek2mgl Jul 18 '14 at 14:57