sajad torkamani
posts
Bash symbols: $?
12 December 2025 (Updated 12 December 2025)
$?
gives you the exit code for the last command.
Tagged:
Bash