Skip to content

Instantly share code, notes, and snippets.

@seeni-dev
Last active September 21, 2018 08:33
Show Gist options
  • Save seeni-dev/f10fdf9e823988f0e73c5046f77fd212 to your computer and use it in GitHub Desktop.
Save seeni-dev/f10fdf9e823988f0e73c5046f77fd212 to your computer and use it in GitHub Desktop.
i=0
while [ $i -lt 10 ]
do
echo $i;
i=$((i+1)); #increment the varaible i
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment