How do I change the default shell to Bash in Linux?

Bờm

Member
How do I change the default shell to Bash in Linux?
Answer
Changing the Default Shell of the Current User
If we want to change the default shell of the current login user, we can execute
the chsh command with the -s <NEW_SHELL> option. Let’s change the default shell of the current user to Bash: kent$ chsh -s /bin/bash Changing shell for kent. Password: Shell changed.
 

Tìm kiếm

Back
Top