Configure Shells

To identify which shell you use, enter:

echo $SHELL
cat /etc/shells
# /etc/shells: valid login shells
/bin/sh
/bin/dash
/bin/bash
/bin/rbash
/bin/zsh
/usr/bin/zsh
/usr/bin/screen
chsh
Enter the new value, or press return for the default
Login Shell [/bin/bash]: /bin/sh

Configuration file for sh (Bourne Shell)

.profile

Configuration file for bash (Bourne Again Shell)

.bashrc

Change shells

Enter in terminal:

sh

To access Bourne Shell

bash

to access BASH Shell