if else statement continue one line command check code example
Example: bash if then else one line
if [[ CONDITION_STATEMENT ]]; then SOME_CODE; else OTHER_CODE; fi
if [[ CONDITION_STATEMENT ]]; then SOME_CODE; else OTHER_CODE; fi