From owner-freebsd-questions Sat Nov 17 0:32:42 2001 Delivered-To: freebsd-questions@freebsd.org Received: from atkielski.com (atkielski.com [161.58.232.69]) by hub.freebsd.org (Postfix) with ESMTP id 58ED237B418 for ; Sat, 17 Nov 2001 00:32:38 -0800 (PST) Received: from contactdish (ASt-Lambert-101-2-1-14.abo.wanadoo.fr [193.251.59.14]) by atkielski.com (8.11.6) id fAH8WaO42808; Sat, 17 Nov 2001 09:32:36 +0100 (CET) Message-ID: <021301c16f42$6991c4d0$0a00000a@atkielski.com> From: "Anthony Atkielski" To: , References: Subject: Re: Is root's search path special? Date: Sat, 17 Nov 2001 09:32:29 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Mark writes: > After installing a program, if you're running tcsh, > you have to run 'rehash' to search your path for > executables. Or you can log out and back in or something. That appeared to fix it. When I logged in again this morning after a mysterious system crash occurred last night, I was able to run the program with no problem. I had assumed that the path is searched for every command execution, but apparently that is not the case. What does "rehash" do? The man page is no help. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message