#!/bin/bashx=0while [ $x -le 10 ]do $y=[$x*2] echo "2*$x = $y" echo " " x=$(( $x + 1 ))done
Standard input is empty
2*0 = 2*1 = 2*2 = 2*3 = 2*4 = 2*5 = 2*6 = 2*7 = 2*8 = 2*9 = 2*10 =
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!