Skip to content
Advertisement

[: missing `]’ error in Unix | shell Script [closed]

I got a [: missing `]’ error in shell Script

JavaScript

This is my code and i got the error like

JavaScript

Advertisement

Answer

I got the solution

JavaScript

This is my first time doing bash scripting. So the issue majorly due to the Indentation.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement