From owner-freebsd-questions@FreeBSD.ORG Tue Feb 22 17:33:55 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD1CC106567A for ; Tue, 22 Feb 2011 17:33:55 +0000 (UTC) (envelope-from jhelfman@experts-exchange.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [72.29.183.251]) by mx1.freebsd.org (Postfix) with ESMTP id 860E88FC15 for ; Tue, 22 Feb 2011 17:33:55 +0000 (UTC) Received: from mail.experts-exchange.com (localhost [127.0.0.1]) by mail.experts-exchange.com (Postfix) with ESMTP id 2FB8D6F338E; Tue, 22 Feb 2011 09:33:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=e-e.com; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:message-id:subject:subject :from:from:date:date:received:received:received; s=ee; t= 1298396035; x=1300210435; bh=jN2OWFZJstOpLQIukmpeCYnFg3E7B/1WES6 0IGNOxPQ=; b=QATsUG0dTcMl2zBrnfcbaKl9j+qVbLMAVl4z6D8u+rb2ngR79bB yLtSNHh1XhOD8OZixQ0HgD6u6FOMF8OfJvzD29R5KqBHAgEIuTKrIF3pL91ZdDzg 3KrAHU2xTajTSuzX/grWnO6UNHfvr/hUN0Lj4/tXcmub9vi/qT6nRk0k= X-Virus-Scanned: amavisd-new at experts-exchange.com Received: from mail.experts-exchange.com ([127.0.0.1]) by mail.experts-exchange.com (mail.experts-exchange.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E2cgnp+yy8pY; Tue, 22 Feb 2011 09:33:55 -0800 (PST) Received: from experts-exchange.com (unknown [192.168.103.122]) by mail.experts-exchange.com (Postfix) with SMTP id D57DE6F338A; Tue, 22 Feb 2011 09:33:54 -0800 (PST) Received: (nullmailer pid 54825 invoked by uid 1001); Tue, 22 Feb 2011 17:30:35 -0000 Date: Tue, 22 Feb 2011 09:30:35 -0800 From: Jason Helfman To: Randy Ramsdell Message-ID: <20110222173035.GP51350@eggman.experts-exchange.com> References: <4D63E6F2.3050008@alokat.org> <4D63E92C.4060304@ifdnrg.com> <4D63EB2E.3080200@alokat.org> <4D63ED8E.8090309@activedg.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <4D63ED8E.8090309@activedg.com> X-Operating-System: FreeBSD 8.1-RELEASE X-Living-The-Dream: I love the SLO Life! User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org Subject: Re: bash can not find most of my commands 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: Tue, 22 Feb 2011 17:33:55 -0000 On Tue, Feb 22, 2011 at 12:08:30PM -0500, Randy Ramsdell thus spake: >Alokat wrote: >> On 02/22/11 17:49, Paul Macdonald wrote: >>> On 22/02/2011 16:40, Alokat wrote: >>>> Hi, >>>> >>>> I have changed my shell from csh to bash ... >>>> But after that I have to call "reboot" like /sbin/reboot. >>>> >>>> How can I change that without changing the shell. :) >>>> >>> don't change your root shell! >>> >>> csh is in the base system so is safe and will always* work, >>> >>> bash is a port and gets updated regularly, there's been at least one >>> occasion when my bash upgrade failed and i couln't login as root. >>> very frustrating.. >>> >>> I just get used to changing to bash after that, much safer! >>> >>> Paul. >>> >>> >>> >> Paul has satisfied me. I have changed back to csh. >> >> Thank for help. >> >> Regards, >> alokat >> > >And if you use bash after login or anytime, your original problem remains. This has to do with your path, and it is known good practice to use full paths, as well. -jgh