Check Last Exit Code In The Shell

Command to check and print last exit code of last command in the shell.
On this page

Command

1echo $?
razonyang
Friday, January 17, 2025 Tuesday, November 5, 2024