linux:sh:check-exit-code
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revision | |||
— | linux:sh:check-exit-code [2023/07/04 19:36] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Exit code of the last command ====== | ||
+ | |||
+ | echo $? | ||
+ | |||
+ | < | ||
+ | 0 | ||
+ | </ | ||
linux/sh/check-exit-code.txt · Last modified: 2023/07/04 19:36 by 127.0.0.1