bash:built-in_variables
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
bash:built-in_variables [2020/07/15 09:30] – external edit 127.0.0.1 | bash:built-in_variables [2021/01/26 11:42] (current) – peter | ||
---|---|---|---|
Line 5: | Line 5: | ||
< | < | ||
$$ = The PID number of the process executing the shell. | $$ = The PID number of the process executing the shell. | ||
- | $? = Exit status variable. | + | $? = Exit status variable. Nearly all Linux programs return a 0 error status for true and anything else is false. |
$0 = The name of the command you used to call a program. | $0 = The name of the command you used to call a program. | ||
$1 = The first argument on the command line. | $1 = The first argument on the command line. |
bash/built-in_variables.1594805433.txt.gz · Last modified: 2020/07/15 09:30 by 127.0.0.1