thanks for all the responses.
Gabor
=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]
On Mon, 7 Jul 2008 16:36:37 Gabor Szabo wrote:
>
> Given the following commands:
>
>
> $ ls -l /nosuch
> ls: /nosuch: No such file or directory
> $ echo $?
> 2
>
>
> On one Linux system I get the value 2 as above. On another Linux
> system I get the value 1.
> (The first is a relatively new Ubuntu,
Gabor Szabo wrote:
So am I doing something incorrectly or can I just assume that the exit
codes can change
even between Linuxes?
The later.
Some commands define that certain exit codes have certain meanings (see
the rsync manual, the section headed "EXIT VALUES"). For every other
command t
Given the following commands:
$ ls -l /nosuch
ls: /nosuch: No such file or directory
$ echo $?
2
On one Linux system I get the value 2 as above. On another Linux
system I get the value 1.
(The first is a relatively new Ubuntu, the other one is some old Red Hat)
So am I doing something incorrec