Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] sh shell woes
- Date: Sun, 15 Sep 2002 22:47:37 -0500
- From: Scott Robbins <scottro@example.com>
- Subject: Re: [tlug] sh shell woes
- References: <20020916015712.GA5716%scottro@example.com> <Pine.LNX.4.44.0209161022240.21799-100000@example.com>
- User-agent: Mutt/1.4i-ja.1
On Mon, Sep 16, 2002 at 10:23:53AM +0900, Tony Laszlo wrote: > Thanks very much, Scott. > > On Sun, 15 Sep 2002, Scott Robbins wrote: > > > There's a chsh command. If bash is listed in /etc/shells you can change > > your shell to use it. In FreeBSD at least (you don't say which BSD > > you're using) it's /usr/local/bin/bash. > > Sounds like the ticket. > FreeBSD, it is. > and bash is listed in /etc/shells > > will "chsh -s bash" do it? Hrm, I'm in the middle of something in Linux with both of the boxes running FreeBSD right now, so not sure. You can just type chsh---something comes up and you'll see that your shell is /usr/bin/sh. Just edit that to read /usr/local/bin/bash, leave the rest of it alone, do a :wq (it comes up as a file to be edited in vi) and you're done. (Of course, you'll have to log out and log in again.) Hrmm, this is interesting--I'm going to put this in for others who might find it so. As I said, I'm in Linux at the moment, so I went to www.freebsd.org and went to the online man pages. Did a search for chsh and it turns out that it's a link to chpass. According to the man page chpass -s /usr/local/bin/bash should work. Give it a shot. If it doesn't, then go back to the earlier part of this email and just type it in manually. :) HTH -- Scott PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6Attachment: pgp00126.pgp
Description: PGP signature
- References:
- Re: [tlug] sh shell woes
- From: Scott Robbins
- Re: [tlug] sh shell woes
- From: Tony Laszlo
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Notebook Question
- Next by Date: Re: [tlug] sh shell woes
- Previous by thread: Re: [tlug] sh shell woes
- Next by thread: Re: [tlug] sh shell woes
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links