how to make a loop in shell script code example Example: for loop in shell script for i in {1..5} do echo "Welcome $i times" done