exit code
exit code
echo $? prints a code of an error of the last command - if code is
equal to 0 the command whats succesful - if you set the
Variables to exit (number) this
will fore the exit code to be the number
- if u add it to the function it will end the
Functions >[!example]- >
[!quote] U can redirect the wrong outpu to the devnull Standard Error Data Streams