pause in bash
sleep .5 # Waits 0.5 second.
sleep 5 # Waits 5 seconds.
sleep 5s # Waits 5 seconds.
sleep 5m # Waits 5 minutes.
sleep 5h # Waits 5 hours.
sleep 5d # Waits 5 days.sleep .5 # Waits 0.5 second.
sleep 5 # Waits 5 seconds.
sleep 5s # Waits 5 seconds.
sleep 5m # Waits 5 minutes.
sleep 5h # Waits 5 hours.
sleep 5d # Waits 5 days.
#pause 5 second, first method
read -t 5
#pause 5 second, second method
sleep 5sfunction pause(){
read -s -n 1 -p "Press any key to continue . . ."
echo ""
}
## Pause it ##
pause
## rest of script below
Also in C++:
- install vim in vs
- remove all cache ubuntu
- ubuntu 20.04 bluetooth not turning on or working
- what all should be added to gitignore for django project
- ubuntu 20.10 how to open zip file
- gcc 7 install ubuntu
- ubuntu record video change time
- install composer ubuntu 18.04
- git push specific branch
- InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
- git bash in cmd
- ubuntu remove all folders but keep some
- git stash
- xargs in linux
- cpu core command linux
- mongo shell query for email domain regex
- how to install podman in ubuntu
- best photo editor linux
- pushing to github
- verificaçao ficheiro linux bash
- conda install pytorch
- ubuntu nvm
- bash print one line until match
- kill process at a port ubuntu