Change shell example for Linux

~]% chsh -s /bin/bash

Example showing change from older C shell to bash shell

How to identify which shell you are using in Linux

You can find out which shell you’re running at any time by typing the command echo $SHELL at the shell prompt. The default shell is specified in the /etc/passwd file and can be changed there for each user.

or echo $0