Answers for "while true in bash script"

2

bash while true

while :; do
  # loop infinitely
done
Posted by: Guest on October-04-2021
0

bash while loop

#!/bin/bash
i=0
While [ $i -le 10 ]
do
 echo i:$i
 ((i+=1))
done
Posted by: Guest on May-26-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language