bash can not find most of my commands

Jason Helfman jhelfman at e-e.com
Tue Feb 22 17:33:55 UTC 2011


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


More information about the freebsd-questions mailing list