Answers for "bash pause equivalent"

0

Bash add pause prompt in a shell script with bash pause command

read -p "Press [Enter] key to start backup..."
read -p "Press any key to resume ..."
## Bash add pause prompt for 5 seconds ##
read -t 5 -p "I am going to wait for 5 seconds only ..."
Posted by: Guest on December-24-2020
0

pause in bash

#pause 5 second, first method
read -t 5

#pause 5 second, second method
sleep 5s
Posted by: Guest on October-27-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language