|
Home > Archive > Unix administration > December 2007 > the return value of a process
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
the return value of a process
|
|
| rakesh uv 2007-12-21, 7:34 am |
| hi,
is there any way to find the exact meaning of message given
by a Unix command
for example
mv: cannot access hello.c
similarly is there any way to find the meaning of the
error number or message displayed
by compilers
Rakesh UV
| |
| Thorbjoern Ravn Andersen 2007-12-21, 7:34 am |
| rakesh uv <uvrakesh@gmail.com> writes:
> hi,
> is there any way to find the exact meaning of message given
> by a Unix command
> for example
> mv: cannot access hello.c
Ask Google for "mv: cannot access". Remember the quotes.
> similarly is there any way to find the meaning of the
> error number or message displayed
> by compilers
Ask Google for the invariant parts of the thing you need to know.
--
Thorbjørn Ravn Andersen
| |
| Frank Cusack 2007-12-23, 1:23 pm |
| On Fri, 21 Dec 2007 00:06:39 -0800 (PST) rakesh uv <uvrakesh@gmail.com> wrote:
> hi,
> is there any way to find the exact meaning of message given
> by a Unix command
> for example
> mv: cannot access hello.c
1) the documentation
2) truss or strace or whatever system call tracing facility your OS provides
sometimes you can't find a "precise" reason for an error as the kernel
simply does not return that info. e.g. EACCES might be due to file
permissions, ACL or MAC controls and you wouldn't know which.
> similarly is there any way to find the meaning of the
> error number or message displayed
> by compilers
1) the documentation
2) usenet or other forums
-frank
|
|
|
|
|