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