Conditional logic if - else if [ "$rocket_status" = "Failed" ] then rocket-debug "$mission_name" elif [ "$rocket_status" = "Success" ] then echo "This is successful" else echo "The status is not failed or success" fi In if-else, we use ...
shell-scripting-basic.hashnode.dev5 min read
No responses yet.