Bash add pause prompt in a shell script with bash pause command
function pause(){
read -s -n 1 -p "Press any key to continue . . ."
echo ""
}
## Pause it ##
pause
## rest of script belowread -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 ..."
Also in C++:
- what all should be added to gitignore for django project
- apt get install discord
- terraform backend
- linux invalid filename fix
- how to switch branch
- delete auto purge
- how to take array input in shell script
- linux find files ending with
- ubuntu subsystem windows 10 from cmd prompt
- raise RuntimeError('Error accessing GPIO.') RuntimeError: Error accessing GPIO.
- add pwd to path linux
- mui treasury styles install
- sbt scala install ubuntu
- ln -sf linux
- shell script for aws lightsail launch
- what is regedit in windows
- bash print lines unique to one file
- replace characters command
- how to remove folder and its contents in linux
- config git editor vim
- apt install force
- teamcity set environment variable command line
- Command 'ng' not found, but can be installed with:
- debian install killall