I'm having a little trouble implementing a very simple shell script. I want to run a program with command line inputs 2-100 as one of the program arguments and direct the results to another file, i.e.
for (( c=2; c<101; c++))
do
./virtmem 100 $c fifo sort2 >> results/FIFOSORT.txt
done
But this doesn't quite work because it says fifo isn't a program. Any suggestions? Thanks for your help.
virtmemproblem.