next up previous contents index
Next: F.4.6 Why doesn't xtexsh Up: F.4 Using Red Hat Previous: F.4.4 How do I

F.4.5 I compiled a program, but I can't run it. What gives?

Lets say you do the following as root:

gcc -o hello hello.c
hello

You'll get ``hello: command not found''

Why?

By default, `.' is not in your path. You must run:

./hello

(dot, slash, h, e, l, l, o with no spaces)

For security reasons `.' should not be in your path.



Red Hat Software