Computer scienceSystem administration and DevOpsCommand lineBash syntax

Arithmetic operations

(B)Looper

Report a typo

You are given a bash script that contains a loop.

#!usr/bin/env/bash

#Simple while loop

counter=1
while [ $counter -le 10 ]
do
   ((_____))
done

echo Complete

-le refers to less than or equal to.

Which of the following will not produce an infinite loop if replaced instead of _____?

Select one or more options from the list
___

Create a free account to access the full topic