I'm trying to get my
.sh file to run a Java program for a specific amount of time.
#Runs Java Repeatedly. #Reset directory cd #Go until src cd Desktop/Lin\ Lab/Java\ Workspace/SandBubbler/src/ for((i = 0; i < 10; i++)) do java testerPackage.BubblerSimulation #kill process after x amount of seconds. done
I'm new to Unix/Linux (I started learning it yesterday) so please explain it in a simple way. Thanks!