The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
if [ $? -eq 0 ] .. can someone explain this?
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
if [ $? -eq 0 ] .. can someone explain this?
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
1
(
permalink
)
10-03-2006
ranjita.c
Registered User
Join Date: Aug 2006
Posts: 5
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?
ranjita.c
View Public Profile
Find all posts by ranjita.c
Find ranjita.c's past nominations received
Find ranjita.c's present nominations given