Linux Shell Change
To change your
shell with chsh:
- cat /etc/shells
At the shell prompt, list the available shells on your system with cat /etc/shells. - chsh
Enter chsh (for "change shell"). Code Listing 3.5 shows the system response. Some systems prompt for a password, and some don't. - /bin/zsh
Type in the path and name of your new shell. - su -
yourid
Type in su - and your userid to relog in to verify that everything works correctly. If it doesn't, use chsh again and change back to the original shell or to a different one. If you can't change back, email your system administrator for help.
Comments
Post a Comment