Meta interview question

What does "$?" mean in bash?

Interview Answers

Anonymous

6 Dec 2019

returns the status code of the last executed command

7

Anonymous

21 May 2022

The exit code of the last executed command.

Anonymous

21 May 2022

The exit code of the last executed command.

Anonymous

9 Mar 2019

How would you suggest preparing for the systems interview round? I have never given a systems interview before and am about to start my preparation.

Anonymous

30 Oct 2019

referencing or retrieving the value of a variable