The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 10-03-2006
ranjita.c ranjita.c is offline
Registered User
  
 

Join Date: Aug 2006
Posts: 5
Question if [ $? -eq 0 ] .. can someone explain this?

I thought it means if the return code of the previous command not equal to 0...
Is this correct?