shell script pause execution code example
Example 1: pause in bash
#pause 5 second, first method
read -t 5
#pause 5 second, second method
sleep 5s
Example 2: pause bash script
function pause(){
read -s -n 1 -p "Press any key to continue . . ."
echo ""
}
## Pause it ##
pause
## rest of script below