From owner-freebsd-questions Sun Aug 27 03:42:32 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id DAA17987 for questions-outgoing; Sun, 27 Aug 1995 03:42:32 -0700 Received: from strider.ibenet.it ([194.179.130.1]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id DAA17980 for ; Sun, 27 Aug 1995 03:42:24 -0700 Received: (from piero@localhost) by strider.ibenet.it (8.6.12/8.6.12) id MAA22473; Sun, 27 Aug 1995 12:46:30 +0200 From: Piero Serini Message-Id: <199508271046.MAA22473@strider.ibenet.it> Subject: Re: Paths vs program execution To: freyes@i-2000.com Date: Sun, 27 Aug 1995 12:46:30 +0200 (MET DST) Cc: questions@freebsd.org In-Reply-To: <9508270257.AA23318@i-2000.com> from "Francisco Reyes" at Aug 26, 95 10:54:44 pm Reply-To: Piero@strider.ibenet.it Operating-System: FreeBSD 1.1.5.1 X-Phone-Number: +39 (2) 58113562 X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 811 Sender: questions-owner@freebsd.org Precedence: bulk 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 I 20136 Milano - ITALY