Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash wait for input to continue

read -t 1 -n 1
echo "Press any key to continue"
while [ true ] ; do
read -t 3 -n 1
if [ $? = 0 ] ; then
break ;
else
continue ;
fi
done
Comment

PREVIOUS NEXT
Code Example
Shell :: nvm zsh command not found 
Shell :: ffmpeg overwrite 
Shell :: bash open program 
Shell :: how to install vim through powershell 
Shell :: tar extract gz 
Shell :: get element by index bash 
Shell :: workbench linux 
Shell :: reset last commit 
Shell :: join docker swarm 
Shell :: ffmpeg add two videos together 
Shell :: Error: ENOSPC: System limit for number of file watchers reached, watch 
Shell :: git cherry pick resolve conflict 
Shell :: ubuntu set current timezone asia/kolkata 
Shell :: pip install from github ssh 
Shell :: bash add new line to crontab 
Shell :: dpkg: error processing archive /var/cache/apt/archives/atftpd_0.7.git20210915- 
Shell :: ubuntu version 
Shell :: install adonisjs 
Shell :: ssh keygen 
Shell :: how to reset back to commit id in git 
Shell :: how to download grub with pop os 
Shell :: copy ssh remote server 
Shell :: ubuntu arial font 
Shell :: git error push declined due to email privacy restrictions 
Shell :: pytorch for jetson nano 
Shell :: docker prune -a 
Shell :: sudo apt uninstall 
Shell :: pip install pygame 
Shell :: Kali free ports in use 
Shell :: how to open current terminal directory in file explorer 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =