What does $? Mean in Linux?

Huyền Thu

New member
What does $? Mean in Linux?
Answer
$? -The exit status of the last command executed. $0 -The
filename of the current script
. $# -The number of arguments supplied to a script. $$ -The process number of the current shell. For shell scripts, this is the process ID under which they are executing.
 

Tìm kiếm

Back
Top