Bash sementara benar
while :; do
# loop infinitely
done
steamboatid
while :; do
# loop infinitely
done
#!/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
#!/bin/sh
a=0
while [ $a -lt 10 ]
do
echo $a
a=`expr $a + 1`
done
while true;
do
#code
;done
while ! [ "${finished}" ]; do
...
done
#!/bin/bash
i=0
While [ $i -le 10 ]
do
echo i:$i
((i+=1))
done