Only Few Seats Left for Advanced Certification Courses on Data Science, ML & AI by E&ICT Academy IIT Roorkee

  Apply Now

Program returns value and arguments

Every program returns a value to the operating system. It is also referred to as the exit status. In Linux, a program returns 0 if successful. Otherwise a non-zero error number.

To check the return value of the previous command you can check the value of a special variable ?

    echo $?

No hints are availble for this assesment

Answer is not availble for this assesment

Loading comments...