Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2001 14:15:30 -0600 (MDT)
From:      Al Kwan <webmaster@hboss.net>
To:        free bsd <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Default shell
Message-ID:  <1000412130.3ba113e2a3b26@www.hboss.net>
In-Reply-To: <042601c13c8c$81b44e90$a50410ac@olmct.net>
References:  <042601c13c8c$81b44e90$a50410ac@olmct.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Andre,

You can type:

# pw usermod username -s /usr/local/bin/bash
(this sets "username"'s default shell)

Then to change your bash prompt settings, edit your .profile and add something 
like:

PS1="[\t|\u@\h: \w]$"

Hope this helps,

Al



Quoting Andre` Niel Cameron <AndreC@Axxs.net>:

> Does anyone know how to set your default shell to Bash?(I already
> installed
> bash)  Also, I want it to have the server name like csh not say
> Bash-2.0.#
> any ideas?
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1000412130.3ba113e2a3b26>