Örnek Bash Programi
#!/bin/bash#demo of decision making#first parametera=$1 #secont parameterb=$2c=$(($a*$b))let c=a*bif [ $a -gt $b ]then #there are two spaces inside echo a greater than belse echo a less than b#to ent iffi# loop 3rd parameter timeswhile [ $c -le $3 ]; do echo Number $c let c++done
***