The shell script prints a right-angled triangle #! /bin/ bash
for ((i=1;i<= 9;i++)) do for ((j=1;j<=$i;j++ )) do echo -n "*" done echo done
#! /bin/bash
for ((i=1;i<= 9;i++)) do for ((j=1;j<=$i;j++ )) do echo -n "*" done echo done
The shell script prints a right-angled triangle #! /bin/ bash
for ((i=1;i<= 9;i++)) do for ((j=1;j<=$i;j++ )) do echo -n "*" done echo done
#! /bin/bash
for ((i=1;i<= 9;i++)) do for ((j=1;j<=$i;j++ )) do echo -n "*" done echo done