Bash -Beschließungscode -Status letzter Befehl

# The special variable $? returns the exit status of the last executed command:
echo $?
javabash