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