Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
I feel obligated to note that while making your life easy, adding "." to
your path if you are running as root is an inherently dangerous thing.
I urge you to be in the practice of typing ./ for any known executables
not in your path and not running any unknown executables as root at all,
ever.
Nimrod
> try:
>
> ./a.out
>
> Most likely, by default, current path (the ".") is not in the shell's
> access paths specified in .cshrc .bshrc or whatever the appropriate
> configuration file for your shell is. You can modify the config file to
> include ".", and thus make your life a little easier.
> Hope that helps.
> - Paul
>
>
> Kermit & Ruth Shroyer wrote:
>
> > I just installed Redhat 6.1and am having problems running my C
> > programs after a successful compilation. The a.out file is there but
> > the command a.out does not work. Using cc -c with a differerent name
> > is likewise unsuccessful. Can anyone help with this
> > problem. Thanks,Steven Shroyer
>