An Open Source Community
An Open Source Community

How to change default shell to bash on Macos Big Sur

From macOS, Big Sur Apple is shipping zsh as the default shell but there is still an option available to use the bash shell. Most people still prefer bash shell over zsh shell due to multiple reasons.

This tutorial guides the step-by-step process of changing the default shell to bash.

Step 1: Check the current shell.

[[email protected] ~]  echo $SHELL

Step 2: Check available shell.

[[email protected] ~] cat /etc/shells
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.


Step: 3 Change default shell to bash for the current logged in user.

[[email protected] ~]  chsh -s /bin/bash
Changing shell for syshunt.
Password for syshunt:

Step 4: Open a new terminal to use the updated shell and verify the current shell from the following command.

[[email protected] ~] echo $SHELL

Hope this tutorial was informative and added some value. Please bookmark to get preferred results in your google search queries.
Like us on Facebook.

Leave a comment

Your email address will not be published. Required fields are marked *