Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Feb 2011 09:30:35 -0800
From:      Jason Helfman <jhelfman@e-e.com>
To:        Randy Ramsdell <rramsdell@activedg.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: bash can not find most of my commands
Message-ID:  <20110222173035.GP51350@eggman.experts-exchange.com>
In-Reply-To: <4D63ED8E.8090309@activedg.com>
References:  <4D63E6F2.3050008@alokat.org> <4D63E92C.4060304@ifdnrg.com> <4D63EB2E.3080200@alokat.org> <4D63ED8E.8090309@activedg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110222173035.GP51350>