What is the $? (dollar question mark) variable in shell scripting? [duplicate]

I’m trying to learn shell scripting, and I need to understand someone else’s code. What is the $? variable hold? I can’t Google search the answer because they block punctuation characters.

9 Answers
9

Leave a Comment