How can Win10 not enter Bash? What should I do if the console enters the Bash prompt error?

  

When writing some necessary functions, we may apply Bash. The Unix shell written for this purpose will be tested using the console. When a Win10 user enters Bash on the console, an error message will appear. To use this feature the legacy console must be disabled.”, causing the user to be unable to enter Bash. How to solve such a problem?

What is Bash?

Bash is a Unix shell written for the GNU project. Its name is a series of abbreviations: Bourne-Again SHell — This is a pun on the Bourne shell (sh) (Bourne again /born again). The Bourne Shell was an early important shell written by Steve · Bourne around 1978 and released with Version 7 Unix. Bash was created in 1987 by Brian · Fox. In 1990, Chet Ramey became the main maintainer.

Bash is the default shell for most Linux systems and Mac OS X v10.4. It runs on most Unix-style operating systems and is even ported to the Cygwin system on Microsoft Windows. Implement the POSIX virtual interface for Windows. In addition, it was ported to MS-DOS by the DJGPP project.

In September 2014, several cybersecurity experts discovered a bug that had been hidden for 20 years in the network. This vulnerability, called Bash, is even more serious than the threat of "heart bleeding". The hacker can remotely issue commands to the web server, which means that the affected company will be in big trouble.

Fault Cause:

An error occurred when entering the Bash using the command prompt CMD, prompting "In order to use this feature the legacy console must be disabled." Because the command line console is caused by traditional settings.

Solution:

1. Click the logo in the upper left corner of the console and select Properties.

2. Uncheck "Use the old console" and click OK.

3, close the command line window and then re-open, and run Bash to go in.

Although the new version of the Win10 console can execute some code that cannot be used in the Win7/XP system environment, sometimes we also need to use the old version of the console to be compatible with some of the command systems available in the Win7/XP era.

Copyright © Windows knowledge All Rights Reserved