Bash Mac Upgrade Memo

Source: Internet
Author: User
Tags administrator password

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.