Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I change my login shell to bash or tcsh?

bash LOGIN Shell tcsh
0

For Bash, Add the following lines to the bottom of your .login file: if ( -f /usr/local/bin/bash) then setenv SHELL /usr/local/bin/bash exec /usr/local/bin/bash –login endif Add to the bottom of ~/.dtprofile: DTSOURCEPROFILE=true export SHELL=/usr/local/bin/bash For Tcsh, Add the following lines to the bottom of your .login file: if ( -f /usr/local/bin/tcsh) then setenv SHELL /usr/local/bin/tcsh exec /usr/local/bin/tcsh endif Add to the bottom of ~/.dtprofile: DTSOURCEPROFILE=true export SHELL=/usr/local/bin/tcsh For ksh, Add the following lines to the bottom of your .login file: if ( -f /usr/bin/ksh) then setenv SHELL /usr/bin/ksh exec /usr/bin/ksh –login endif Add to the bottom of ~/.dtprofile: DTSOURCEPROFILE=true export SHELL=/usr/bin/ksh Now you should have the new shell as your default in all xterm and CDE Terminal windows.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123