Printing pattern in bash with N number of rowsAnju·FollowApr 1, 2021--ListenShare#!/bin/bashread -p "Enter how many rows you want to print:" rowsfor((i=1; i<=rows; i++))dofor((j=1; j<=i; j++))doecho -n "*"doneechodone