Pause in bash script

Use the following command to pause the execution of a bash script waiting for input:

read -p 'Press Enter to continue...'

Leave a Reply