Answers for "bash run while loop"

13

while loop bash

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

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
Posted by: Guest on May-08-2021
0

bash while done

while CONDITION_STATEMENT; do SOME_CODE; done
Posted by: Guest on December-17-2020
-1

bash run while loop

while true; do echo -e "\nnew proccess"; php artisan queue:work --once; done
Posted by: Guest on October-27-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language