sh[it] and What am I missing here?
dpchrist at holgerdanske.com
Sun Jun 5 16:31:50 UTC 2016
On 06/05/2016 08:38 AM, Baho Utot wrote:
> root at baho-utot:~ # set
> shell /bin/csh
> tcsh 6.18.01
> OK tcsh as I thought
> OK switch shells
> root at baho-utot:~ # /bin/sh
> # set
> Why is the SHELL variable still set to /bin/csh
Because you are invoking a program (/bin/sh) and that program did not
modify the SHELL environment variable.
On 06/05/2016 09:15 AM, jd1008 wrote:
> Do I understand correctly that you want bash to be your shell?
> If so, you can run (as root), the command
> chsh <username>
Take a look at:
More information about the freebsd-questions