#!/bin/bash
i=20
if [ $i -gt 10 ]
then
echo "$i 10 dan büyüktür"
fi
x=10
if (( $x % 2 == 0 ))
then
echo "$x 2 ile bölümünden kalan sıfır olduğu için cift sayıdır (mod almak)"
fi
x=10
if (( $x != 1 ))
then
echo "$x 1'e eşit değildir"
fi
x=10
if (( $x != 1 ))
then
echo "$x 1'e eşit değildir"
else
echo "$x 1'e eşittir"
fi
Categories: Bash language
14 Comments
altogel · 23/01/2025 at 06:08
… [Trackback]
[…] Read More here on that Topic: durukanbal.com/2021/01/27/bash-if-syntax-example/ […]
dark168 · 25/01/2025 at 12:45
… [Trackback]
[…] Read More on on that Topic: durukanbal.com/2021/01/27/bash-if-syntax-example/ […]
รับทำประตูรั้วสแตนเลส เชียงใหม่ · 28/01/2025 at 23:33
… [Trackback]
[…] Find More here on that Topic: durukanbal.com/2021/01/27/bash-if-syntax-example/ […]
Nonameauto · 06/02/2025 at 07:26
… [Trackback]
[…] Information on that Topic: durukanbal.com/2021/01/27/bash-if-syntax-example/ […]
ดูบอลสด66 · 06/02/2025 at 12:37
… [Trackback]
[…] There you will find 20338 additional Info on that Topic: durukanbal.com/2021/01/27/bash-if-syntax-example/ […]
betflix wallet · 07/02/2025 at 18:04
… [Trackback]
[…] Find More Info here on that Topic: durukanbal.com/2021/01/27/bash-if-syntax-example/ […]
ผลบอล888 · 08/02/2025 at 01:17
… [Trackback]
[…] Read More on on that Topic: durukanbal.com/2021/01/27/bash-if-syntax-example/ […]
66thb · 09/02/2025 at 02:21
… [Trackback]
[…] Find More Info here to that Topic: durukanbal.com/2021/01/27/bash-if-syntax-example/ […]
Read more · 18/02/2025 at 23:15
… [Trackback]
[…] There you will find 28686 additional Information on that Topic: durukanbal.com/2021/01/27/bash-if-syntax-example/ […]
ลำโพง TOA · 01/03/2025 at 20:33
… [Trackback]
[…] Read More Information here on that Topic: durukanbal.com/2021/01/27/bash-if-syntax-example/ […]
lg96 · 05/03/2025 at 11:52
… [Trackback]
[…] Info on that Topic: durukanbal.com/2021/01/27/bash-if-syntax-example/ […]
DeepBLOK ระบบสมาชิก · 08/03/2025 at 05:18
… [Trackback]
[…] Read More on that Topic: durukanbal.com/2021/01/27/bash-if-syntax-example/ […]
fear of god essentials · 11/03/2025 at 02:23
… [Trackback]
[…] Find More Info here on that Topic: durukanbal.com/2021/01/27/bash-if-syntax-example/ […]
โคมไฟ · 15/03/2025 at 20:23
… [Trackback]
[…] Information on that Topic: durukanbal.com/2021/01/27/bash-if-syntax-example/ […]