Click to See Complete Forum and Search --> : Wait a few seconds in shell script


Stupid Boy
12-31-2004, 11:52 AM
I want a script to print one line, wait a few seconds, print the second line, wait a few seconds, then print the third line.

What must I use to make the script wait?

Thanks

pickarooney
12-31-2004, 12:34 PM
echo "first string"
sleep 10 #number of seconds between output
echo "second string"