How do I change my login shell?


  
"640K ought to be enough for anybody"
- Bill Gates' remark on MS-DOS, 1981

There are several shells available in CEE Unix network. You can change your login shell using "nispasswd -s" command. However, I strongly recommend you to read the pros and cons of different shells before changing your login shell to understand what you're getting into. Of course, you can change back or to other shells anytime using the same "nispasswd -s."

You can find out your current login shell by typing

$ echo $SHELL

(yes, $SHELL in uppercase)

For example, if your current login shell is "tcsh" and you want to change it to "bash202";

$ rlogin rhino (remote login to the network server)
$ nispasswd -s
Old shell: /usr/local/bin/tcsh
New shell: /usr/local/bin/bash202
Login shell changed.
$ echo $SHELL
/usr/local/bin/bash202
You can change back or to other shells anytime using the same "nispasswd -s." There is no any single "bset" shell by definition, and you may try different shells to find out which shell works best for you. (and subsequently understand the Unix better...)

When you're done with the login shell change, don't forget to Exit from the remote server to your console workstation.

$ exit
(log out from the remote server and get back to your console)

$
(you should see console workstation name in your prompt now)