How do I Change my Shell?

Your shell is defined in the last field of the password file.

will:x:869:869:Will Spencer:/home/will:/bin/bash

Under some version of Unix, users can use the `chsh` or `passwd -e` commands to edit the shell configured for their account in the passwd file. Under other Unix variants, only the root user can use these commands.

In some versions of Unix, it is possible for a Unix user to change his shell by setting an environment variable called "SHELL" in their .profile.

Under all versions of Unix, you can add an entry in your .profile or .login startup script to start a new shell for you.

A list of valid shells for your system can be found in the /etc/shells file.



Top 5 Free Networking Tools

Bookmark How do I Change my Shell?

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.