Created
March 4, 2014 14:19
-
-
Save james2doyle/9347269 to your computer and use it in GitHub Desktop.
bash implementation of "press any key to continue"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
read -n 1 -r -s -p "Press any key to continue..." | |
# this will fire after the key is pressed | |
echo "\ncool" | |
exit 0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment