> hi all
>         i am using redhat 6.0 . after i compile the file -- filename.c =
> and use a.out .bash says : no command a.out. help !!!!!!
>            =20
>         INDRA--=20
> this is out of topic -- do you know any place where they repair internal =
> modems . (for example changing a capacitor on the modem card )
> 
> regards
> dwaipayan.

First check if you indeed have an "a.out". You should, if your
program compiled without errors. In that case, the file should also
be having the right permissions without your bothering about it. Then
the immediate fix to your problem is simple -- invoke "./a.out" instead
of just "a.out".

The reason why "a.out" by itself doesn't work is that your $PATH
environment variable does not, by default, contain the current
directory, ".". There are good reasons for that, having to do with
Unix security. You may, of course, add the "." to the definition
of your $PATH in .bashrc (or .tcshrc if, like me, you use tcsh!).
Be sure to add it to the _end_ of the $PATH string, and read up the
reason why "." in your $PATH could compromise security.

- Manas Laha.

--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/help/faq_list.html

Reply via email to