In terminal input bash-version, mine is 3.2.51, now from Http://git.savannah.gnu.org/cgit/bash.git/snapshot/ bash-master.tar.gz Download 4.3.24, then extract, and then find bash43-025 from ftp://ftp.cwru.edu/pub/bash/bash-4.3-patches/, right-save download to the above unzipped folder, Then open the command line, switch to the Extract directory, enter Patch-p0 < bash43-025, (that is 0 is not uppercase), then there will be four lines prompt, and then enter./configure && make && sudo make Install, will let you enter the administrator password after entering, enter, will generate a bash file under/usr/local/bin/, and then save the previous Bash command: sudo mv/bin/bash/bin/bash3.2.51/, this need in/ Create a new bash3.2.51 folder under Bin (command: sudo mkdir/bin/bash3.2.51), and then overwrite the newly generated bash: sudo ln-s/usr/local/bin/bash/bin/bash, done
Bash Mac Upgrade Memo