linux looks in pre-specified places for executables to run. these places are listed in the PATH variable. you can run executables that are not listed in PATH by giving the full pathway: # /home/bob/bin/hello or if you are in /home/bob/bin/ then try # ./hello or you can add /home/bob/bin/ to your PATH and it will find # hello there are lots of docs on how to set the PATH var (check the archive). cheers, Gavin on 10/3/00 12:36 AM, Jason Yeoh wrote: > hi there : > > Good day. after compilation hello.c file by typing > gcc -o hello hello.c and I try to type hello and run > it but i got the message such as > bash : hello: command not found. > How to make it run by typing hello ? any additional > package do i need to install it ? > At first my gcc compilation software wont run as well, > > with the error message such as "bash: gcc: command not > found". What is the package do i need to install ? > > Thanks very much > > Regards > Jason Yeoh >
Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.