Restore the default Shell in Linux

Source: Internet
Author: User
Restore the Linux system's default Shell-general Linux technology-Linux technology and application information. For more information, see. Ubuntu has replaced the default bash shell with dash. The result is that/bin/sh is linked to/bin/dash instead of the traditional/bin/bash.

Ubuntu Edgy is the first release to use dash as the default shell, which seems to be affected by Debian. On Ubuntu Wiki, you can learn the reasons for the change. dash is smaller and runs faster, and it is also compatible with POSIX.

However, the problem is that a large number of users on the Internet have errors due to shell replacement. After all, many existing scripts are not 100% POSIX compatible. To change the default shell back to bash, you can select no after executing sudo dpkg-reconfigure dash.

(Thank you very much for your careful discovery)
Related Article

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.