Unary operator error

./dynamic_study.sh: line 5: [: ==: unary operator expected
./dynamic_study.sh: line 8: [: ==: unary operator expected
./dynamic_study.sh: line 11: [: ==: unary operator expected
When i am trying to run the script file to move the bb8, i am getting this error. Kindly let me know how to overcome this error.

Hi @ramku31,

Which course are you trying to do? And which unit and exercise are you trying to solve?

Obviously, you have some errors in your shell script, but we can help better if we know what you are trying to solve. You might also need to share your script with us.

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