5

Trying to decide if I want to bother upgrading my bash shell to v4.x; if it comes with Mavericks, I probably won't, but I can't find much information on what versions of bash come with what versions of OS X, let alone with Mavericks specifically.

Anyone running a Mavericks beta want to bash --version for me?

1
  • 1
    I can't see it as much of a bother, install bash from macports and use that. Takes a couple minutes, you're not disturbing anything else, and you're not modifying your system. Commented Oct 23, 2013 at 17:21

2 Answers 2

10
Zephyr:~ ats$ bash --version
GNU bash, version 3.2.51(1)-release (x86_64-apple-darwin13)
Copyright (C) 2007 Free Software Foundation, Inc.
Zephyr:~ ats$ which bash
/bin/bash
4
  • 1
    For completeness sake, the same version is shipped with the release version of Mavericks.
    – mjturner
    Commented Oct 29, 2013 at 12:02
  • and same for Yosemite and ElCapitan
    – mmmmmm
    Commented May 14, 2016 at 10:27
  • And for those curious about Mojave, it's GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin18) Copyright (C) 2007 Free Software Foundation, Inc. Commented Nov 21, 2019 at 17:53
  • @mjturner Not all releases, at least not anymore! 10.9.5 Build 13F1911 is GNU bash, version 3.2.53(1)-release (x86_64-apple-darwin13). I think it was updated to fix the ShellShock exploit. Commented Feb 28, 2021 at 21:27
0

Wutas-Mac-mini:~ WJ$ bash --version GNU bash, version 3.2.51(1)-release (x86_64-apple-darwin13) Copyright (C) 2007 Free Software Foundation, Inc.

That should spell it out.

1
  • This answer is absolutely identical to the accepted answer which was posted and accepted eight months earlier. And it's improperly formatted. It should be deleted. Commented Aug 5, 2015 at 23:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .