bash can not find most of my commands

Alokat mailing at alokat.org
Tue Feb 22 16:47:25 UTC 2011


On 02/22/11 17:44, Rolf Nielsen wrote:
> 2011-02-22 17:40, Alokat skrev:
>> Hi,
>>
>> I have changed my shell from csh to bash ...
>
> Why?
> Do you use root as your regular login?
>
>> But after that I have to call "reboot" like /sbin/reboot.
>>
>> How can I change that without changing the shell. :)
>>
>> my /root/.profile:
>>
>> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin 
>>
>>
>> export PATH
>> HOME=/root
>> export HOME
>> TERM=${TERM:-cons25}
>> export TERM
>> PAGER=more
>> export PAGER
>>
>> Regards,
>> Alokat
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscribe at freebsd.org"
>>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"
It's just for example ... :)
I have a non root login for regular stuff.


More information about the freebsd-questions mailing list