sh[it] and What am I missing here?

jd1008 jd1008 at
Sun Jun 5 16:23:02 UTC 2016

On 06/05/2016 10:01 AM, Baho Utot wrote:
> On 06/05/16 11:58, Manas Bhatnagar wrote:
>>> After the /bin/sh am I into a bourne shell or what?
>> Try 'env bash'?
> env: bash: No such file or directory

Sorry, for barging in at this point.
Do I understand correctly that you want bash to be your shell?
If so, you can run (as root), the command
chsh <username>

where <username> should all be replaced by your login  name.

This will give you a vi screen where you change your login shell
to whatever you want it to be.

After that , you need to make sure that the rc and profile files that 
are executed
by your chosen shell, export the variable
SHELL=<your shell that you chose in the previous command above>

for example:

export SHELL=/bin/bash


More information about the freebsd-questions mailing list