exit status of if statement in bash when condition is false
If I run help if
in bash
then it tells me that the exit status is “the status of the last command executed”. Let’s try it:
If I run help if
in bash
then it tells me that the exit status is “the status of the last command executed”. Let’s try it: