From owner-freebsd-questions@FreeBSD.ORG Thu Apr 12 17:29:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BED7B16A404 for ; Thu, 12 Apr 2007 17:29:35 +0000 (UTC) (envelope-from smurphy@calarts.edu) Received: from echo.calarts.edu (echo.calarts.edu [198.182.157.9]) by mx1.freebsd.org (Postfix) with ESMTP id 9BD1613C45E for ; Thu, 12 Apr 2007 17:29:35 +0000 (UTC) (envelope-from smurphy@calarts.edu) Received: from echo.calarts.edu (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 80436101E402 for ; Thu, 12 Apr 2007 17:21:05 +0000 (GMT) Received: from muse2.calarts.edu (muse2.calarts.edu [198.182.157.28]) by echo.calarts.edu (Postfix) with ESMTP id 771061018D52 for ; Thu, 12 Apr 2007 17:21:05 +0000 (GMT) Received: from [198.182.157.179] (dhcp7179.calarts.edu [198.182.157.179]) (authenticated bits=0) by muse2.calarts.edu (8.13.3/8.13.3) with ESMTP id l3CHTYpC006094 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 12 Apr 2007 10:29:35 -0700 (PDT) (envelope-from smurphy@calarts.edu) Message-ID: <461E6C79.9070107@calarts.edu> Date: Thu, 12 Apr 2007 10:29:29 -0700 From: Sean Murphy User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.52 on 198.182.157.28 Subject: Shell PATH not being reread X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Apr 2007 17:29:35 -0000 I have just installed FreeBSD 6.2 Release. I su to root and run pkg_add -r cvsup-without-gui It installed fine I edited the ports-supfile cd /usr/share/examples/cvsup vi ports-supfile but when I go to run cvsup -g -L 2 ports-supfile It tells me it cannot find the command I logout completely then login again and su and I can now run the same command from the /usr/share/examples/cvsup directory. It seems the path is not being rebuilt or reread when I added that package but when I logout and login it works. I know I can type in the the full path and command but was wondering if there was a solution to reload/rebuild/reread the path so I don't have to login/logout/login env for myself is PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/smurphy/bin SHELL=/bin/sh env for root is PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin SHELL=/bin/csh Thanks.