Answers for "how to write a while loop in shell script"

13

while loop bash

while true;
do
	#code
done
Posted by: Guest on May-23-2020
0

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
Posted by: Guest on October-25-2020

Code answers related to "how to write a while loop in shell script"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language