Цикл while Bash
Пример цикла while
#!/bin/bash
i=0
while [ $i -le 3 ]
do
echo "i= "
echo $i
(( i++ ))
done
Пример цикла while
#!/bin/bash
i=0
while [ $i -le 3 ]
do
echo "i= "
echo $i
(( i++ ))
done
Share in social media:
|