Set BASH as Default Shell

Enter at the prompt
$ bash
If command not found error, install BASH
# pkg_add -r -v bash
Now find where BASH is installed
$ which bash
You should see (Ubuntu)

/bin/bash

Change shell to BASH
$ chsh -s /bin/bash username

username is your User Name
You should see:

Password:
Provide your login password

You’ll need to logout (exit) and login again.
You should now see a BASH prompt

username@hostname:~$
And now verify that shell is changed
$ grep ^username /etc/passwd

You should see:

username:x:1000:1000::/home/user-name:/bin/bash


You may also like...