From owner-freebsd-bugs Wed Feb 7 19:40:21 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 59FEC37B69B for ; Wed, 7 Feb 2001 19:40:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f183e2x70206; Wed, 7 Feb 2001 19:40:02 -0800 (PST) (envelope-from gnats) Date: Wed, 7 Feb 2001 19:40:02 -0800 (PST) Message-Id: <200102080340.f183e2x70206@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Kris Kennaway Subject: Re: bin/24944: new execute-file can't running(not found err),unless relogin. Reply-To: Kris Kennaway Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/24944; it has been noted by GNATS. From: Kris Kennaway 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-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message