Exit Status

#cd /tmp
#echo $?
0 --> it means successful

we have 0-255 exit codes where "0" is only for successful.

[root@noisecover-dr ~]# pzw
-bash: pzw: command not found
[root@noisecover-dr ~]# echo $?
127 --> it is reserved for command not found.

126--> permission issue

Comments

Popular posts from this blog

How to delete SEA in VIOS

More VIOS commands

Webmin configuration for LDAP