Originally Posted by btmiller
Put a "read" command between the two commands. It will wait until you hit enter to continue, e.g.:
echo "press enter to continue"
echo "You pressed enter."
sorry for my mistake this is my script
tail -f ./temp.t
and i fix my problem
i can change my script like this
trap "echo ctrl c; exit 1" INT
tail -f 1.sh
echo very thanks!
sorry for my poor chinese_english