Re: Capturing verbose exit codes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Apr 03, 2010 at 01:53:40PM -0700, Suvayu Ali wrote:
> Whenever some job is sent to the background and it finishes, it displays 
> a message on the shell with the exit code. ...
> ...
> I understand that I can get the exit code with $? but is there some way 
> I can get the associated message (Done/Terminated/Sementation Fault...) 
> with the exit code?

Unfortunately, every exit code is a function of the individual program
that last ran, or the shellscript itself.  Do a man on the various
commands; you'll find a wide range of exit codes.  About the only thing
you can really count on--usually--is that an exit code of zero means
everything was OK.

Cheers,
--
--
	Dave Ihnat
	dihnat@xxxxxxxxxx
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux