How To Pause Unix Shell Script
You can pause the execution of a shell script using read like this: read -t 5 -p "press any key to resume, will exit in 5 sec ..." The -t is the time in seconds and the -p is the pause followed by a message.
You can pause the execution of a shell script using read like this: read -t 5 -p "press any key to resume, will exit in 5 sec ..." The -t is the time in seconds and the -p is the pause followed by a message.