bash wait for user key or give up after seconds code example Example: bash pause wait for keypress read -p "Press any key..."