Bash symbols: $?
12 December 2025 (Updated 12 December 2025)
$? gives you the exit code for the last command.
Tagged:
Bash
References (1)
Posts that link to this one.
$? gives you the exit code for the last command.
Posts that link to this one.