Here ,In this post, we will write a shell script to print 2's table using while loop function.
WHILE loop:The while loop enables you to execute a set of commands repeatedly until some condition occurs. It is usually used when you need to manipulate the value of a variable repeatedly.
#========================#
#program for : while loop#
#created by : ajay #
#========================#
#!/bin/bash
#identfy the numerical integers
i=1
#while programing
while(($i <= 10))
do
echo " 2 * $i= $((2*$i)) "
let i++
sleep 1
done

