Bug 24944

Summary: new execute-file can't running(not found err),unless relogin.
Product: Base System Reporter: ligang <ligang>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description ligang 2001-02-08 03:20:01 UTC
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.

Fix: 

sorry, i don't know, i'm a newer.
How-To-Repeat: what's this dialog mean??
Comment 1 Kris Kennaway 2001-02-08 03:23:47 UTC
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
Comment 2 Yar Tikhiy freebsd_committer freebsd_triage 2001-10-11 16:12:15 UTC
State Changed
From-To: open->closed

It's not a FreeBSD problem, but a *documented* 
feature of some shells.