Skip to content

Glossary: Command Line for IT: Bash and PowerShell

$?

A bash variable that holds the exit code of the last command. After a failed sha256sum -c, echo $? prints 1.

Where the book teaches it

Related terms

exit code&&||