How is it possible to change the default shell? The env command currently says:
SHELL=/bin/tcsh
and I want to change that to Bash.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try linux command
chsh.The detailed command is
chsh -s /bin/bash.It will prompt you to enter your password.
Your default login shell is
/bin/bashnow. You must log out and log back in to see this change.The following is quoted from man page:
This command will change the default login shell permanently.
Note: If your user account is remote such as on Kerberos authentication (e.g. Enterprise RHEL) then you will not be able to use
chsh.