Question: What is wrong with this code? I am trying to do this: ---For given numbers 1 to 10, display any number that is less than

What is wrong with this code?

I am trying to do this:

---For given numbers 1 to 10, display any number that is less than 5 and stop the loop.

What is wrong with this code? I am trying to do this:

# ! /bin/bash while $a -1t 10 dlo echo $a if Sa -eq 4 then break fi a-'expr $a 1' done

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!