Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I was using bash3 up to now, and just got a copy of the latest version

$ ./bash --version
GNU bash, version 4.1.0(1)-release (i686-pc-linux-gnu)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

What are the major changes/feature additions in version 4 over version 3?

share|improve this question

1 Answer 1

up vote 6 down vote accepted

The NEWS file lists the features that were added in each version.

Most notably in 4.0 I see a couple of improvements to the autocompletion infrastructure, the (optional) addition of the ** glob operator, associative arrays and various syntactic shortcuts.

share|improve this answer
Also the autocd option — it doesn't look like much, but as a zsh user, it's what I miss most when I occasionally use bash (<4 or unconfigured). –  Gilles Oct 23 '10 at 21:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.