#!/bin/bash

while true
do
    work=0
done

i=1 
while [ $i -le 10 ]
do   
    echo "$i"   
    i=$(( $i + 1 )) 
done

4 Comments

นักสืบ · 21/01/2025 at 04:31

… [Trackback]

[…] Read More here on that Topic: durukanbal.com/2021/01/26/bash-while-syntax-example/ […]

joker369 · 25/01/2025 at 08:12

… [Trackback]

[…] Read More Information here to that Topic: durukanbal.com/2021/01/26/bash-while-syntax-example/ […]

pk789 · 25/01/2025 at 18:55

… [Trackback]

[…] Read More on on that Topic: durukanbal.com/2021/01/26/bash-while-syntax-example/ […]

highbay · 28/01/2025 at 07:38

… [Trackback]

[…] Information on that Topic: durukanbal.com/2021/01/26/bash-while-syntax-example/ […]

Leave a Reply

Avatar placeholder