shell script pause until keypress code example Example: bash pause wait for keypress read -p "Press any key..."