The question is pretty straight forward. I can get the exit code of the previous command by using
$?. But what exactly is it?
I don't think it is a variable, because you can't have any special characters in the name of variable other than
will result in the error:
foo?foo=10: command not found
So if it is not a variable, what is it? Are there others like it?