Question from the Bash - Fundamentals test

Write a bash script that prints the numbers from 1 to 6.

Hard

What does the following script return?

#bin/bash

count=0

while [[ $count < 6 ]]
do
  ((count++))
  if [[ $count == 2 ]]; then
    keep on going
  fi
  echo $count
done
Author: titouan lecampStatus: PublishedQuestion passed 65 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!