|
First of all, it is not an "IF LOOP".
The first if statement will execute if exit code from the previous command was not 0.
The second if statement will execute if the exist code from the previous command was 0
The third if statement will execute if the number of positional parameters is 3.
To learn more, read the man page of your shell.
|