Skip to content
Advertisement

How can I change my shell every time I log in to bash by editing .cshrc file? [closed]

I am trying to set my default shell to bash (existing: csh). I am not allowed to use chsh.

Advertisement

Answer

Just put bash on the first line of your .cshrc. This will immediately launch bash when you start a csh session. If you want to get back to csh for some reason, you can just type exit or Ctrl-D into the bash session.

Advertisement