How to acess Linux bash terminal with new Windows Terminal

本小妞迷上赌 提交于 2020-05-28 08:35:46

问题


A few months ago Microsoft announced a new open source terminal they are working on:

As you can see in the Trailer of the video you can access an Ubuntu/Debian etc bash terminal from the Windows terminal.

My question is how do you access this? Do you have to enable the Linux sub-system for Windows and then download the distro form the Windows store? If so something I'd also like to ask is what are the downsides of enabling such a thing? Does it close down your boot time? Does it risk borking your computer etc?


回答1:


It will be the windows subsystem for linux WSL. I use it very often. You need windows 10 >= 1709 (winver). Acitvate the wsl windows feature, download a linux version from the store and run the bash command. I don't have any problems yet.




回答2:


If you install versions of WSL they appear in your Start menu and you can click the icon to open a Bash console directly, without installing the New Windows Console, and also without opening a cmd.exe console window and typing "bash" or "wsl". If you install New Windows Terminal, you can open, from a menu, a console tab for Powershell and cmd.exe, as well as any WSL versions you have.



来源:https://stackoverflow.com/questions/56718116/how-to-acess-linux-bash-terminal-with-new-windows-terminal

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!