Use the following command to pause the execution of a bash script waiting for input:
read -p 'Press Enter to continue...'

Technical notes, and other ideas.
Use the following command to pause the execution of a bash script waiting for input:
read -p 'Press Enter to continue...'