Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

until loop bash

#!/bin/bash

counter=0

until [ $counter -gt 5 ]
do
  echo Counter: $counter
  ((counter++))
done
Comment

bash script until loop

until [ <some test> ]
do
<commands>
done
Comment

PREVIOUS NEXT
Code Example
Shell :: squash commit history git 
Shell :: how to unzip tar.gz file 
Shell :: linux install requirements.txt 
Shell :: delete branch github 
Shell :: bash get last character of string 
Shell :: sh vs bash 
Shell :: set time in kali linux 
Shell :: deploy stack cloudformation cli 
Shell :: bash split string into array 
Shell :: nextcloud scan files 
Shell :: docker start exited container 
Shell :: w10 reboot cmf 
Shell :: how to install nginx on docker 
Shell :: git clone commit hash 
Shell :: docker build with args 
Shell :: flush ip windows 10 
Shell :: how to set up git user 
Shell :: bash move file 
Shell :: bat cd to directory 
Shell :: install steam on ubuntu 
Shell :: remove white space from stering in bash 
Shell :: npm install package as dependecy 
Shell :: no wifi adapter found ubuntu 18.04 
Shell :: how to install react redux 
Shell :: undercover mode kali 
Shell :: how to run power shell script 
Shell :: wsl2 vs virtualbox performance 
Shell :: vlc doesnt open after install ubuntu 
Shell :: undo git commit and keep changes 
Shell :: configure static ip address ubuntu server 20.04 
ADD CONTENT
Topic
Content
Source link
Name
7+9 =