How to Set BASH to Default Shell in Ubuntu


Get a Linode SliceI can highly recommend Linode installations. Easy, fully functional, optimized, ready to go, LAMP stack.


Type:
$ 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
Now change shell:
$ chsh -s /bin/bash user-name
user-name is your User Name
You should see:
Password:
Provide your login password
You should now see a BASH prompt:
user-name@host-name:~$
user-name is your User Name, host-name is your Host Name
And now verify that shell is changed:
$ grep ^user-name /etc/passwd
You should see:
user-name:x:1000:1000::/home/user-name:/bin/bash