Currently I am in /xhbin/tcsh. which command changes me to /bin/bash? Do I need to change the $SHELL variable or something like that?
To change shells temporarily, simply run the new shell. They're like any other program.
To change the shell permanently, use
You must provide the full path to the new shell (use
As @grawity mentions, chsh may not always work. I have a server for which my login shell is ksh and I like to use bash interactively. This is my ksh