Hello there.
I’m running correct command
(
$(( I + 4 ))
)
but the terminal keeps returning an error
(
bash: 15: command not found
)
pls help <3
Hello there.
I’m running correct command
(
$(( I + 4 ))
)
but the terminal keeps returning an error
(
bash: 15: command not found
)
pls help <3
Doesn’t the step say to use I++
?
As the hint suggests, type(( I++ ))
excluding the $
and see if something happens.
I took another screenshot where you can see what the step says.
and try entering (( I++ )) , but it still returns an error.
ty
I took another screenshot where you can see what the step says.
and try entering (( I++ )) , but it still returns an error.
ty <3
I took another screenshot where you can see what the step says.
and try entering (( I++ )) , but it still returns an error.
ty
Looks like you are making some minor syntax-related mistakes. It’s OK, bash expressions can be confusing. Note that expressions are sensitive to spaces.
For this particular challenge, there are some hints:
11
for I
, enter I=11
to set it to 11
$(( I + 4 ))
in the terminal and press enterFirst set the value for I like this: I=11
.
Then, type $(( I + 4 ))
[spaces included] and see the results.
thank you very much, that worked <3
mb
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.