#!/bin/bash # Basic C-like for loop for (( i=1; i<=5; i++ )) do echo $i done echo "All done"