User Tools

Site Tools


bash:built-in_variables

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
bash:built-in_variables [2019/12/07 01:34] – created peterbash:built-in_variables [2021/01/26 11:42] (current) peter
Line 5: Line 5:
 <code> <code>
 $$ = 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.1575682476.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki