|
As much as I understood .You want to see your background process named something with ps ;
ps -ef |grep processname gives this.
there is no need to infinite loop. just;
echo "input someting : \n "
read input1
echo $input1
untill you input anything process waits.when you enter finishes.while waiting input you can check the process in on other screen. and you can start multiple processes.
|