The other day I got a new Apple M1 processor chip (I really don’t like there’s only two ‘USB-4’ ports and the ‘Magic bar’ bothers me!). But, anyways when I opened my terminal i noticed the below message and wanted to change default shell to bash for this macOS Bir Sur.
The default interactive shell is now zsh. To update your account to use zsh, please run `chsh -s /bin/zsh`.
I got used to bash on my nice old friend macOS High Sierra. So, I found a way to change default shell to bash for it. Before changing this I brewed one of my favorite Latin America coffees from Honduras.
How Change Default Shell to bash macOS Big
This is very easy to do:
- Open your terminal
- List available shells by typing:
- To change your account to use bash type:
chsh -s /bin/bash
- Close your terminal
- Open your terminal and verify that
bashis your default shell running:
printf "%s\n" "$SHELL"
- You should see the following output:
Find out your current bash version
Simple, type this command in your terminal: