bash can not find most of my commands

Warren Block wblock at wonkity.com
Tue Feb 22 17:53:55 UTC 2011


On Tue, 22 Feb 2011, 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!

Consider running bash from .cshrc.  Less breakable than changing root's 
shell, but still kind of automatic.


More information about the freebsd-questions mailing list