Horje
shell script while loop example Code Example
shell script while loop example
#!/bin/sh
INPUT_STRING=hello
while [ "$INPUT_STRING" != "bye" ]
do
  echo "Please type something in (bye to quit)"
  read INPUT_STRING
  echo "You typed: $INPUT_STRING"
done
linux while loop
while true;
do
	#code
;done
for loop while loop shell functions
while check1
do
    # Loop while check1 is successful (returns 0)

    if check1
    then
        echo 'check1 was successful'
    fi

done




Shell

Related
ionic capacitor v3 add android Code Example ionic capacitor v3 add android Code Example
unmount nfs Code Example unmount nfs Code Example
get current user debian Code Example get current user debian Code Example
bash loop over files in file Code Example bash loop over files in file Code Example
get unix username Code Example get unix username Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12