Bash enquanto é verdade
while :; do
# loop infinitely
done
steamboatid
while :; do
# loop infinitely
done
while true;
do
#code
;done
#!/bin/bash
i=0
While [ $i -le 10 ]
do
echo i:$i
((i+=1))
done
#!/bin/bash
counter=$1
factorial=1
while [ $counter -gt 0 ]
do
factorial=$(( $factorial * $counter ))
counter=$(( $counter - 1 ))
done
echo "$factorial"