📅  最后修改于: 2023-12-03 14:41:22.263000             🧑  作者: Mango
If you are a Linux user, you might have noticed that the default shell in most distributions is linked to a dash shell rather than a bash shell. This is because the dash shell is much lighter and faster to load than the bash shell, which is a bit bulkier. However, many users prefer the bash shell because it offers more functionality and is easier to use.
If you are one of those users, you can change the default shell to bash by using the chsh
command. Here is how you can do it:
chsh -s /bin/bash
and press Enter.chsh -s /bin/bash
Password:
Changing the login shell for user {username}
Enter the new value, or press ENTER for the default
Login Shell [/bin/bash]:
Login shell changed to /bin/bash.
By following these simple steps, you can easily change the default shell from dash to bash and enjoy all the benefits that come with it. Happy coding!