Learning is Evolving |Flat 25% off on all courses | Use coupon code LEARN25 During checkout |
Enroll NowEvery program return a value to operating system. It is also referred as exit status. In linux, a program returns 0 if successful. Otherwise a non-zero error number.
To check the return value of previous command you can check the value of a special variable "?"
echo $?
Taking you to the next exercise in seconds...