From nobody@FreeBSD.org  Wed Feb  7 19:17:22 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id E682C37B69C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  7 Feb 2001 19:17:21 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id f183HLj68573;
	Wed, 7 Feb 2001 19:17:21 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200102080317.f183HLj68573@freefall.freebsd.org>
Date: Wed, 7 Feb 2001 19:17:21 -0800 (PST)
From: ligang@fesco.com.cn
To: freebsd-gnats-submit@FreeBSD.org
Subject: new execute-file can't running(not found err),unless relogin.
X-Send-Pr-Version: www-1.0

>Number:         24944
>Category:       bin
>Synopsis:       new execute-file can't running(not found err),unless relogin.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 07 19:20:01 PST 2001
>Closed-Date:    Thu Oct 11 08:12:15 PDT 2001
>Last-Modified:  Thu Oct 11 08:16:04 PDT 2001
>Originator:     ligang
>Release:        4.2 release
>Organization:
fesco
>Environment:
i386 (HP vl400 mechine)
>Description:
when i create a new program in my bin directory, it can't running,err:
"command not found",but the ENV has contant the "$HOME/bin",
when i exit and login ,it's ok.

it's not emergency, but not conveniency.

>How-To-Repeat:
what's this dialog mean??
>Fix:
sorry, i don't know, i'm a newer.

>Release-Note:
>Audit-Trail:

From: Kris Kennaway <kris@obsecurity.org>
To: ligang@fesco.com.cn
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: bin/24944: new execute-file can't running(not found err),unless
 relogin.
Date: Wed, 07 Feb 2001 19:23:47 -0800

 --Kj7319i9nmIyA2yE
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 On Wed, Feb 07, 2001 at 07:17:21PM -0800, ligang@fesco.com.cn wrote:
 
 > >Description:
 > when i create a new program in my bin directory, it can't running,err:
 > "command not found",but the ENV has contant the "$HOME/bin",
 > when i exit and login ,it's ok.
 
 You're probably running tcsh or similar - you need to run 'rehash' to
 rescan the paths for available executables.
 
 Kris
 
 --Kj7319i9nmIyA2yE
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.4 (FreeBSD)
 Comment: For info see http://www.gnupg.org
 
 iD8DBQE6ghFDWry0BWjoQKURAmweAJ4nzJGnR3gxc152CAdTeD+LZt0QgwCfSJWz
 80LDV1YPvrRVkn03KB0GYtY=
 =Sf6t
 -----END PGP SIGNATURE-----
 
 --Kj7319i9nmIyA2yE--
 
State-Changed-From-To: open->closed 
State-Changed-By: yar 
State-Changed-When: Thu Oct 11 08:12:15 PDT 2001 
State-Changed-Why:  
It's not a FreeBSD problem, but a *documented* 
feature of some shells. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=24944 
>Unformatted:
