pause
Bash does not have a native pause function. If you wish to recreate the functionality of DOS pause, first define a pause function and then call pause.
function pause(){ echo -e "\n" read -n 1 -p 'Press any key to continue' } # do something here # now wait for user input pause