the return value of a process
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > the return value of a process




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    the return value of a process  
rakesh uv


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-21-07 12:34 PM

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





[ Post a follow-up to this message ]



    Re: the return value of a process  
Thorbjoern Ravn Andersen


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-21-07 12:34 PM

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





[ Post a follow-up to this message ]



    Re: the return value of a process  
Frank Cusack


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-23-07 06: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





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:56 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register