How to change your default shell in Unix

Sometimes it's valuable to work in various shells. This guide will show you how to change your default shell.

1

Supposing you want to make bash your default shell, you'll use:

chsh -s /bin/bash

The chsh command allows you to change the user login shell. -s lets you specify the shell. Without -s chsh will enter interactive mode.