OS Error number
Michael Schwendt
fedora at wir-sind-cool.org
Thu Mar 10 08:24:10 UTC 2005
On Thu, 10 Mar 2005 13:07:06 +0500, Muhammad Rizwan wrote:
> Hello
>
> Is there any way that we get the number of OS error which we have
> received.
> Like i am adding user as:
> useradd rizwan
> useradd: user rizwan exists
>
> Now in this case i receive message that useradd: user rizwan exists, Is
> there any way to get the number of this error.
$? expands to the return code of the most recently run program
--
Fedora Core release 3 (Heidelberg) - Linux 2.6.10-1.770_FC3
loadavg: 1.45 1.96 2.01
More information about the redhat-list
mailing list