It's most likely that you didn't install the new bash
in the right place. Or that you didn't manage to install it at all.
make install
will only work if you're running as root. Normally, you would need to do
sudo make install
If you don't, you'll see an error message:
$ make install
***********************************************************
* *
* GNU bash, version 4.3.25(1)-release (x86_64-unknown-linux-gnu)
* *
***********************************************************
mkdir -p -- /usr/local/share/doc/bash
mkdir: cannot create directory ‘/usr/local/share/doc/bash’: Permission denied
make: *** [installdirs] Error 1
which means that the software wasn't installed. (You only need to redo the install step.)
Also, by default, the bash build files will install your new bash as /usr/local/bin/bash
, while your old bash
will continue to exist in /usr/bin/bash
. Check which bash is being run by typing:
which bash