It displays the exit status of previous unix command.
Every Linux command executed by the shell script or user, has an exit status. The exit status is an integer number. 0 exit status means the command was successful without any errors. A non-zero (1-255 values) exit status means command was failure.