shell script to run commands in different terminals

hi,

how to write shell script that runs different commands(like:ls,ps,ls-l) in differnt terminals(each command should run in different terminal).

my main motive is to run different 'c' program exe's available in different locations in different terminals.

thanks
sai

Why do you need a terminal for the processes to run them?
You could them in a new (sub)shell. But you could also just send the process into the background with a trailing ampersand:

./program1 -arg1 -arg2 > pr1.log &
./program2 &
etc

What do you mean by terminal? A hardware terminal device, or something like an xterm?