未加星标

Microsoft Adds More Features to Windows Subsystem for Linux

字体大小 | |
[系统(linux) 所属分类 系统(linux) | 发布者 店小二05 | 时间 2018 | 作者 红领巾 ] 0人收藏点击收藏

Microsoft Adds More Features to Windows Subsystem for Linux
A slate of improvements to the windows Subsystem for linux (WSL) feature in the Windows 10 October 2018 Update .

Microsoft has shared details on a number of key bug fixes and useful new features that WSL users who run the latest version of Windows 10 will benefit from.

Such as?

Windows 10 October Update WSL Improvements
Microsoft Adds More Features to Windows Subsystem for Linux
Open Linux Shell Here

One of the most-requested features is granted in this update. It is now possible to launch a Linux Shell from the Windows File Explorer using the right-click menu.

Just press shift as you right-click on a folder to reveal the “ Open Linux shell here ” option.

Notepad & Linux Line Endings
Microsoft Adds More Features to Windows Subsystem for Linux

Developers in particular will be relieved to hear that Notepad now supports Linux line endings .

The famous no-frills text editor was hitherto unable to open and display text files that created on or in Linux or macOS system. Instead, the Windows Notepad could only text documents with Windows End of Line (EOL) characters.

No more; Notepad can now open and accurately display the content of text files containingUnix Line Feed/End of Line characters.You can even check the status bar at the bottom of the window to see which EOL format the currently open file is using.

Support for Chocolatey

Microsoft has also teamed up with the communities behind the Chocolately package manager for Windows and the Boxstarter config tool to make it easier toautomate machine setups and create custom developer environments.

WSL Copy/Paste Support

Windows 10 October Update makes it possible to copy/paste text both to/from the Linux and WSL Consoles.

The feature can be enabled from the Console ‘Options’ tab on the properties dialog. Just check the box next to “Use Ctrl+Shift+C/V as Copy/Paste”.

What’s especially neat is that this setting can beset independently for each shell and/or shortcut, giving you complete control of when and where WSL copy paste functions.

At a glance

I’m not terribly savvy with the Windows release process ― insider builds, slow rings, fast rings, creator updates, fall updates …It’s all a mess to me as an outsider ― so do forgive me if some of what has been highlighted as “new” by Microsoft, is in fact old news.

The key changes to WSL in the Windows 10 October 2018 update at-a-glance:

Copy/Paste support using the Ctrl+Shift+C/V keys Notepad supports Unix line endings Command line install Per-directory case sensitivity support Chocolatey and Boxstarter script support

Furthermore, all the features listed should be available on systems with the Windows 10 October 2018 Update installed/Windows 10 build 1809 or later.

How to Install Windows Subsystem for Linux (WSL)

The “quickest” way to install WSL on Windows 10 64-bit (the feature is not available on 32-bit builds) is to open PowerShell as an admin and run:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

WordPress may mangle the code, so if it fails to activate refer to the steps on this page .

Next, install Ubuntu 18.04 from the Windows store (other Linux distributions are available too) and… Well, that’s it!

Ubuntu 18.04 on the Windows Store

If you want to upgrade to Cosmic Cuttlefish you’ll first need to install Ubuntu 18.10 and the follow the command-line instructions in guide on how to upgrade to Ubuntu 18.10 .

That said, keep in mind that you may encounter issues that are specific to Cosmic and as yet unknown or not highlighted.

本文系统(linux)相关术语:linux系统 鸟哥的linux私房菜 linux命令大全 linux操作系统

代码区博客精选文章
分页:12
转载请注明
本文标题:Microsoft Adds More Features to Windows Subsystem for Linux
本站链接:https://www.codesec.net/view/610715.html


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 系统(linux) | 评论(0) | 阅读(66)