How to log in automatically to /bin/bash as the default shell in Deepin OS
Check your OS
In the terminal, you can check your operating system by running the following command
The solution provided by this article was tested using
Deepin Os 20.7. You can check it out if works in your operating system.
You'll see something like this
Check your default shell
In the terminal, you can check your default shell in Deepin OS by running the following command
You should be able to see something like this
home directory. Press
CTRL + H.
Open the file
.bash_profile with your favorite text editor. I use
You should see something like this
Add the following line to the file
This line instructs Deepin OS to execute
/bin/bash as the login shell when you log in.
Restart the terminal
After following these steps, Deepin OS will automatically start a login shell session with
/bin/bash as the default shell each time you log in to your user account.
I hope this article helped you. Let me know if you have any questions.
Your thoughts, suggestions and corrections are more than welcome.
By the way, feel free to drop your suggestions on new blog articles.
Hope to see you next time.