This shows you the differences between two versions of the page.
— |
linux:sh:check-exit-code [2021/01/05 12:42] (current) odefta created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Exit code of the last command ====== | ||
+ | |||
+ | echo $? | ||
+ | |||
+ | < | ||
+ | 0 | ||
+ | </ | ||