DEV Community

Cover image for Bash Scripting: If Conditions & the difference from other programming languages
Ahmed Said-ahmed
Ahmed Said-ahmed

Posted on

Bash Scripting: If Conditions & the difference from other programming languages

Previously, we talked about bash commands, then saw how to use them in a more complex ways and finally, we had a shell file walk-through and got introduced to arguments, user inputs and variables.

In the next 5 minutes, we will discuss the weird part of bash. Bash if conditions structure does not look different than any other if statement structures in other programming languages. However, how the test condition is written and get tested is a bit confusing at the beginning.

Top comments (0)