STD -Fehler Bash

echo $? # to print last command error status
GitPaulo