Dani Posted June 19, 2006 at 10:04 AM Report #33747 Posted June 19, 2006 at 10:04 AM Boas Ultimamente ao usar a shell quase sempre que faço exit, ha a indicaç~ao que a shell terminou com o estado x. A quest~ao e que este x ja teve varios valores e n~ao apenas 1. POrtanto se alguem me poder dizer um site com os codigos de erro agradecia. Cumps
Triton Posted June 19, 2006 at 12:02 PM Report #33759 Posted June 19, 2006 at 12:02 PM Exit codes are a number between 0 and 256, which is returned by any Unix command when it returns control to its parent process.Other numbers can be used, but these are treated modulo 255, so exit -10 is equivalent to exit 246, and exit 257 is equivalent to exit 1. http://www.faqs.org/docs/abs/HTML/exitcodes.html#EXITCODESREF http://www.faqs.org/docs/abs/HTML/exit-status.html http://steve-parker.org/sh/exitcodes.shtml Espero ter ajudado. <3 life
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now