Exit Codes returned by BASH (Bourne-Again SHell) Exit# Meaning _____ ________ 0 Success 1 Err: General 2 Err: Misuse of Shell Built-Ins 128-2 Err: command not invokeable 128-1 Err: command not found 128-0 Err: invalid argument to "exit" 128+1 Err: fatal termination "1" (i.e. kill -1) 128+2 Err: fatal termination "2" (i.e. kill -2 = Ctrl-C) 128+n Err: fatal termination "n" (i.e. kill -n) NOTE: exit codes are a one-byte unsigned value which overflows to wrap-around, thus: exit -1 returns the value 255 exit -2 returns the value 254 exit -3 returns the value 253