Re: OS Error number
From: Michael Schwendt (fedora_at_wir-sind-cool.org)
Date: 03/10/05
- Previous message: Muhammad Rizwan: "OS Error number"
- In reply to: Muhammad Rizwan: "OS Error number"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 10 Mar 2005 09:24:10 +0100 To: General Red Hat Linux discussion list <redhat-list@redhat.com>
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 -- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
- Previous message: Muhammad Rizwan: "OS Error number"
- In reply to: Muhammad Rizwan: "OS Error number"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|