A good rule of thumb is to never use “if” statements when writing shell or bash scripts. 90% of the time, you can get what you want … source Share this:FacebookTwitterLinkedInEmailTelegramPrint Related Tagged: BashCodesExitLogicalOperatorsPythonDataEngineerScriptWriting