Learn Bash Scripting by Building Five Programs #countdown

I am stuck and don’t know what is wrong. How to get more hints and move forward.

Are you sure it should be 50 there? :slight_smile:

1 Like

5 doesnt get me past this either.

Can you copy/paste your latest code attempt for this step?

Update,

Jon M Honhart

You are not typing the command as stated into the terminal. You have a typo. The following are the only arithmetic operator:

-eq, -ne, -lt, -le, -gt, or -ge

In this step also only that part should be entered in terminal, without the ./countdown.sh

1 Like

./countdown.sh [[ 4 -le 5 ]].

OMG ! Thanks so much both of you!

[[ 4 -le 5 ]]

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.