status do código de saída BASH Último comando
# The special variable $? returns the exit status of the last executed command:
echo $?
javabash
# The special variable $? returns the exit status of the last executed command:
echo $?