which bash

Charlse Darwin macports.users at gmail.com
Sun Feb 24 05:54:06 PST 2008


# chsh -s /opt/local/bin/bash username

did the trick, thanks.

On Feb 24, 2008, at 8:41 AM, Adam Mercer wrote:

> On Sun, Feb 24, 2008 at 7:41 AM, Charlse Darwin
> <macports.users at gmail.com> wrote:
>> $ echo $BASH_VERSION
>>  2.05b.0(1)-release
>>  $ bash --version
>>  GNU bash, version 3.2.33(1)-release (powerpc-apple-darwin8.11.0)
>>  Copyright (C) 2007 Free Software Foundation, Inc.
>>  $ which bash
>>  /opt/local/bin/bash
>>  $
>>  # Which bash is being used by the system; 3.2.33(1)-release or  
>> 2.05b.0
>>  (1)-release?
>
> Depends which one you have set as your login shell, from the above it
> looks like you have the system 2.05b version. See the following on how
> to set your login shell
>
> http://www.macosxhints.com/article.php?story=20071025221744166
>
> Cheers
>
> Adam



More information about the macports-users mailing list