What is $? In shell script?

Phương Quyên

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

Tìm kiếm

Back
Top