In previous post we have learned how if-elseif-else conditional statement works. Php provides one more conditional statement named switch-case . switch-case statements generally used for more precise and deterministic decisions. We generally check if given value fully...
Bash provides programmatic conditional statements. Conditionals provides decision point for the application flow. For example if the file exists do this if not do another thing like logic operations. Syntax
if .. then .. fi
if .. then .. else .. fi
if .. elif .. else ..fi
As we see...