I think I initially misunderstood your question. You can pause the active process at any time by pressing Ctrl+Zand resume it with fg .
To pause the script after performing several iterations, you can use the counter variable and the modulo operator %:
i=1
for f in `cat files`; do
echo $f
if (( i % 10 == 0 )); then
read
fi
let "i++"
done
My initial answer is:
read, , RETURN ( EOF, Ctrl+D):
for i in `cat files`
do
echo $i
read
done
-t read, - :
for i in `cat files`
do
echo $i
read -t 1
done
1 , RETURN.