I looked at bash man page and the [[ says it uses Conditional Expressions. Then I looked at Conditional Expressions section and it lists the same operators as test (and [).

So I wonder, what is the difference between [ and [[ in Bash?

4 Answers
4

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *