Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Aug 1995 12:46:30 +0200 (MET DST)
From:      Piero Serini <piero@strider.ibenet.it>
To:        freyes@i-2000.com
Cc:        questions@freebsd.org
Subject:   Re: Paths vs program execution
Message-ID:  <199508271046.MAA22473@strider.ibenet.it>
In-Reply-To: <9508270257.AA23318@i-2000.com> from "Francisco Reyes" at Aug 26, 95 10:54:44 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Hello.

Quoting from Francisco Reyes (Sun Aug 27 05:54:44 1995):
> I created a small c program and placed it on $HOME/bin since this  
> was on the path. When I ran the program from $HOME the  
> program did nothing.

If you use csh, be sure you typed "rehash" adter
installing the new binary.

> If I change to the same directory where the  
> program is then it works (I don't remember, but I think I had to  
> use ./ to run it also).

"." is not in the path.

> Are there any drawbacks to adding . (current directory) to the  
> path?

Yes. Security concerns tell us not to do it :)

Bye,
--
#        $Id: .signature,v 1.12 1995/08/14 12:10:54 piero Exp $
Piero Serini                                            Via Giambologna, 1 
<Piero@Free.IT>                                     I 20136 Milano - ITALY



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508271046.MAA22473>