function pause(){ read -s -n 1 -p "Press any key to continue . . ." echo "" } ## Pause it ## pause ## rest of script below