for loop in linux shell code example Example: bash script loop while [ <some test> ] do <commands> done