Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== 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. <code> function pause(){ echo -e "\n" read -n 1 -p 'Press any key to continue' } # do something here # now wait for user input pause </code> docs/bash/pause.txt Last modified: 2008/08/03 00:25by 127.0.0.1