In linux, executables must either be located in your PATH, or the executable 
name has to have the path prepended -- which is what you're doing when you 
use "./". (Actually, you _can_ add "./" to your PATH but this is considered a 
poor idea from the security standpoint.)

M.

On Monday 26 February 2001 20:31, Robert Fleming wrote:
> I have an executable named 'hello'.
>
> If I cd to the directory it is in and type 'hello' it says file not found.
> However, if I type './hello' it works properly.
>
> Why is this? and is there any way I can resolve it?
>
> thanks
> wade

-- 
Michael O'Henly
TENZO Design

Reply via email to