Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux while loop

while true;
do
	#code
;done
Comment

linux while loop shell

while ! [ "${finished}" ]; do
    ...
done
Comment

linux while loop shell

finished=false
while ! $finished; do
    ...
    # At some point
    finished=true
done
Comment

linux while loop shell

while [ "$finished" != "true" ]; do
   ...
done
Comment

linux while shell

while true; do your_command; sleep5; done
Comment

PREVIOUS NEXT
Code Example
Shell :: How to count number of files in each directory 
Shell :: how to call a batch file from another batch file 
Shell :: git command line discard changes 
Shell :: ubuntu send input to screen 
Shell :: how to add key pair to ec2 instance terraform 
Shell :: gitlab ci yml example 
Shell :: link local to remote git 
Shell :: restart ssl ubuntu 
Shell :: how to push local code to gitlab 
Shell :: how to install nvm in ubuntu 18.04 
Shell :: ERR_NO_CERTIFICATES: Encountered adb error: NoCertificates. ionic 
Shell :: git global settings ssh 
Shell :: git log all branches 
Shell :: vlc media player download for fedora 
Shell :: uninstall mongo db 
Shell :: remove port iptables 
Shell :: install solana anchor 
Shell :: Adding local user to Docker group 
Shell :: docker compose latest version install ubuntu 
Shell :: line number in nano editor 
Shell :: git push to remote 
Shell :: Postman Collection Format v1 is no longer supported and can not be imported directly. You may convert your collection to Format v2 and try importing again. 
Shell :: install tmux2 
Shell :: kafka confluent download 
Shell :: merge develop to branch 
Shell :: @material-ui/icons 
Shell :: install firebase on flutter 
Shell :: no wifi adapter found ubuntu 18.04 
Shell :: remove file from terminal ubuntu 
Shell :: find text in linux file 
ADD CONTENT
Topic
Content
Source link
Name
1+5 =