Loop through range of numbers sequence

/ Published in: Bash
Save to your folder(s)

Copy this code and paste it in your HTML
  1. i=0;
  2. while [ $i -lt 10 ];
  3. do echo $i;
  4. let i=$i+1;
  5. done

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.