while loop bash
while true;
do
#code
done
while loop bash
while true;
do
#code
done
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
bash while done
while CONDITION_STATEMENT; do SOME_CODE; done
bash run while loop
while true; do echo -e "\nnew proccess"; php artisan queue:work --once; done
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us