From owner-freebsd-questions@FreeBSD.ORG Thu Apr 12 18:23:01 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 ED32D16A400 for ; Thu, 12 Apr 2007 18:23:00 +0000 (UTC) (envelope-from sacchi@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.233]) by mx1.freebsd.org (Postfix) with ESMTP id A7D1413C457 for ; Thu, 12 Apr 2007 18:23:00 +0000 (UTC) (envelope-from sacchi@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so585342wra for ; Thu, 12 Apr 2007 11:23:00 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=VhzSSlQ4oVjGYSsbC3tSUgMu2FlNGTgQc8YNBz7lkll9jsilKSYT5XrZ6/RxKxImHZA2ViXwLiJM4Hlk9VUuu4lMz1rguMQKIvJPdSTsHbUX7RI5Dkuk3sMbcdIZCMyHGncDxHWEG/Q/9pNE3Ut8VE3dqLzcUhWZra1hz5avLEc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=G2E+WQTpw6mqzcjjRe3Ohsw/rz/OV2IKT3wZOwGgwhUrTSxdORjeNc0XvmOYYUNKw1xjTnLF3Led5BleHvlj2D1eE8BL/zYKgAspOmuBHOelNbMUlLu1xnKWawOhEvY1Z3x9twl+d36CRFfHTcFPRKSTkHJ9rFvtc6TYcIRVWFY= Received: by 10.78.158.11 with SMTP id g11mr483593hue.1176402178893; Thu, 12 Apr 2007 11:22:58 -0700 (PDT) Received: by 10.78.157.6 with HTTP; Thu, 12 Apr 2007 11:22:58 -0700 (PDT) Message-ID: Date: Thu, 12 Apr 2007 23:52:58 +0530 From: sac Sender: sacchi@gmail.com To: "Sean Murphy" In-Reply-To: <461E6C79.9070107@calarts.edu> MIME-Version: 1.0 References: <461E6C79.9070107@calarts.edu> X-Google-Sender-Auth: 9ddac6e69be04a86 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: 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 18:23:01 -0000 As Kevin Kinsey pointed out, if your shell is csh, ksh, zsh or tcsh, all you have to do is run $ hash -r or $ rehash On 4/12/07, Sean Murphy wrote: > > 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. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- Regards, Sachidananda. Informedia Technologies (Mysore) Pvt. Ltd. Mysore.