What is $? 0 in bash?

What is $? 0 in bash?
Answer
$? is the exit status of the most recently-executed command; by convention, 0
means success and anything else indicates failure.
 

Tìm kiếm

Back
Top