*BSD News Article 86580


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!metro!metro!seagoon.newcastle.edu.au!frey.newcastle.edu.au!not-for-mail
From: c9415019@maths.newcastle.edu.au (Russell Davies)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How to change Shell?
Date: 14 Jan 1997 23:54:45 GMT
Organization: The University of Newcastle
Lines: 13
Message-ID: <5bh6c5$9mh@seagoon.newcastle.edu.au>
References: <5bgcem$ia3@bignews.shef.ac.uk>
NNTP-Posting-Host: frey.newcastle.edu.au
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33879

B Amavasai (elp95bpa@stoat.shef.ac.uk) wrote:
: I wonder if anyone could help. My freebsd account is now configured
: for a bash shell. How do I change it to a C shell? Perhaps this is
: a general unix question. I know that I can run csh, but it isn't
: anything like having a preloaded C shell. Thanks.
: 
You may want to try at least one of the following:

1) chsh at the command prompt may work.
2) simply edit the /etc/passwd file and change the field containing
   the shell which is invoked when you login (typically the last field)

r.