how to make your bash script wait code example
Example: pause bash script
function pause(){
read -s -n 1 -p "Press any key to continue . . ."
echo ""
}
## Pause it ##
pause
## rest of script below
function pause(){
read -s -n 1 -p "Press any key to continue . . ."
echo ""
}
## Pause it ##
pause
## rest of script below