Getting Started with If-Else and Exit Status
Exit Codes
Every command we run on bash script return an exit status/ return codes. These range from 0 to 255 with 0 being SUCCESS. Codes other than 0 are error codes.
To find the meaning of exit status we can use “man” or “info”.
$? is used to che...
whizzx.hashnode.dev2 min read