If the opening bracket is synonymous with the test command, then I have a question - why do I need a closing bracket?
if [ $a -eq $b ] In later versions of bash, the [[...]] (reserved word) construction is supported. What are the differences?
Why does an error occur when using [...] and several conditions (&&, ||), but does not occur when using the [[...]] construct?
if [ $a -eq $b && $c -eq $d ] - ΠΎΡΠΈΠ±ΠΊΠ° if [[ $a -eq $b && $c -eq $d ]] - Π½Π΅ ΠΎΡΠΈΠ±ΠΊΠ° UPD: The #! / Bin / bash interpreter is used.
Scripts format * .sh