Bagi juragan pembaca yang belum atau ingin memahami lebih dalam tentang dunia internet agar memiliki skill/keterampilan bermain internet, di sini tempatnya
Home »
lainnya
» Shell Scripting Tutorial For Beginners Xv - Spell Loops
Shell Scripting Tutorial For Beginners Xv - Spell Loops
Posted by Hold
on January 23, 2017
#!/bin/bash# land loopsn=1# root wayecho "----while loops------first way-------------------"while [ $n -le x ]do echo "$n" (( n++ ))done# 2nd wayn=1echo "----while loops------second way-------------------"while (( $n <= x )) do echo "$n" (( ++n ))done# tertiary wayn=1echo "----while loops------third way-------------------"while [ $n -le x ]do echo "$n" n=$(( n+1 ))done
0 comments:
Post a Comment