Re: [newbie] Running executables - strange behavior

2001-02-27 Thread Len Lawrence
On Mon, 26 Feb 2001, Kelley Terry wrote: On Monday 26 February 2001 09:31 pm, 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

Re: [newbie] Running executables - strange behavior

2001-02-26 Thread Michael O'Henly
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

Re: [newbie] Running executables - strange behavior

2001-02-26 Thread Kelley Terry
On Monday 26 February 2001 09:31 pm, 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 hello

RE: [newbie] Running executables - strange behavior

2001-02-26 Thread Kevin_Bergner
The directory is not in your path. ./ means run this in the current directory. You can edit the PATH in your environment to include the path. But some people don't add the PATH to our home directory for security reasons -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [newbie] Running executables - strange behavior

2001-02-26 Thread Anthony Daniell
Hi, thats because it is a hidden file I believe. Just visiting this planet, Please sign the Linux Driver petition http://www.libranet.com/petition.html http://ants.www4.50megs.com/linux.html Http://www.50megs.com Anthony Daniell - Original Message - From: "Robert Fleming" [EMAIL