Linux Shell script example 1

A example in BASH is as follows to display welcome message 5 times with for loop.

#!/bin/bash
for i in 1 2 3 4 5
do
   echo "Welcome $i times"
done

For any query or issue, feel free to discuss on http://discuss.eduguru.in