[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Shell Question
- From: "Mikkel L. Ellertson" <mikkel Infinity-ltd com>
- To: "'guinness-list redhat com'" <guinness-list redhat com>
- Subject: RE: Shell Question
- Date: Wed, 24 Oct 2001 12:36:25 -0500 (CDT)
On Wed, 24 Oct 2001, Taylor, ForrestX wrote:
> > Hi,
> >
> > Quick Question. How do I tell what shell I am using and if necessary
> > change it permanently?
>
> echo $SHELL
>
> chsh csh (change shell to csh temporarily)
>
You must be running a different version of chsh than I am, as this will
try and change the shell for user csh on my system.
chsh [ -s shell ] [ -l ] [ -u ] [ -v ] [ username ]
[mikkel@master mikkel]$ chsh --version
util-linux-2.10f
>
> Edit /etc/passwd, and the last entry (after the last : ) will tell you your
> shell [probably /bin/bash]
>
> Forrest
>
For changing the shell, try "chsh" or "chsh -s <full path to shell>".
This will change your shell in /etc/passwd. For example, to change your
shell to ksh, try "chsh -s /bin/ksh". You will have to give your
password before the change will be made.
Mikkel
--
Do not meddle in the affairs of dragons,
for you are crunchy and taste good with ketchup.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]