How Do I Make Bash My Default Shell Ubuntu?
Contents If You Use Useradd, Edit the /Etc/Default/Useradd Skeleton File (Don’t Forget to Make a Backup Though). Set the Shell Variable to /Bin/Bash Instead of...
If you use useradd, edit the /etc/default/useradd skeleton file (don’t forget to make a backup though). Set the SHELL variable to /bin/bash instead of /bin/sh . Now every time you use useradd to add a new user bash is automatically their default shell.
How do I set bash as default shell?
From System Preferences
Hold the Ctrl key, click your user account’s name in the left pane, and select “Advanced Options.” Click the “Login Shell” dropdown box and select “/bin/bash” to use Bash as your default shell or “/bin/zsh” to use Zsh as your default shell. Click “OK” to save your changes.
Must Read
How do I change the default shell from zsh to bash Ubuntu?
OS using: sudo apt install zsh ) and check again. Login Shell [/bin/bash]: To change your shell, type the path to the new shell (which exists in /etc/shells ) and press the Enter key. After changing your account’s shell, logout and re-login to use the new shell.