how to break a loop in shell script code example Example: bash break for looop break [n] #Exit optional given n number of loops