How can I pause (not stop) a running script from Terminal in OSX, to resume it later from the point it paused?
How can I pause (not stop) a running script from Terminal in OSX, to resume it later from the point it paused?
echo Press any key to continue...
read blah
Then just don't do anything with the variable.
This is as close to the pause functionality that I've used in DOS batch scripts that I've come across.