Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Jun 2016 10:23:00 -0600
From:      jd1008 <jd1008@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: sh[it] and What am I missing here?
Message-ID:  <575451E4.7030104@gmail.com>
In-Reply-To: <57545029.5060805@gmail.com>
References:  <57544c10.90e58c0a.cacbc.62fd@mx.google.com> <cdf04501-79ef-9dbb-14f0-ed10a6d7241e@columbus.rr.com> <57545029.5060805@gmail.com>

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

HTH.




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