bash script wait for user to press enter code example Example: bash pause wait for keypress read -p "Press any key..."