Close on key press
This page was last updated on July 25, 2011.
- Use this in a Bash script to get the script to close the window when any key is pressed:
-
#!/bin/bash echo -n "Press any key to close this window." read keypress
Obligatory Happy Ending
And they all lived happily ever after. The end.

Comment: