Phạm Thanh Nam
New member
What is $? In bash 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. $$ -The process number of the current shell.
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.