在Windows上的Ubuntu上以Bash复制粘贴 [英] Copy Paste in Bash on Ubuntu on Windows

查看:205
本文介绍了在Windows上的Ubuntu上以Bash复制粘贴的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Windows环境下的Ubuntu上执行从Windows 10到Bash的复制粘贴操作?

How to execute a copy paste operation from Windows 10 to the Bash on Ubuntu on Windows environment?

我尝试了以下操作:

  • ctrl + shift + v
  • 右键单击粘贴
  • ctrl + shift + v
  • right click to paste

有什么建议吗?

推荐答案

更新2019/04/16:似乎Windows build> = 17643现在正式支持复制/粘贴.在 Rich Turner的答案中.可以通过以下所述的相同设置菜单启用此功能,方法是单击使用Ctrl + Shift + C/V作为复制/粘贴"旁边的复选框.

Update 2019/04/16: It seems copy/paste is now officially supported in Windows build >= 17643. Take a look at Rich Turner's answer. This can be enabled through the same settings menu described below by clicking the checkbox next to "Use Ctrl+Shift+C/V as Copy/Paste".

另一种解决方案是启用快速编辑模式",然后可以通过在终端上单击鼠标右键来粘贴.

Another solution would be to enable "QuickEdit Mode" and then you can paste by right-clicking in the terminal.

要启用快速编辑模式",请右键单击工具栏(或直接单击左上角的图标),选择属性",然后在选项"选项卡中,单击快速编辑模式"旁边的复选框.

To enable QuickEdit Mode, right-click on the toolbar (or simply click on the icon in the upper left corner), select Properties, and in the the Options tab, click the checkbox next to QuickEdit Mode.

启用此模式后,您还可以通过单击并拖动在终端中复制文本.做出选择后,您可以按Enter或单击鼠标右键进行复制.

With this mode enabled, you can also copy text in the terminal by clicking and dragging. Once a selection is made, you can press Enter or right-click to copy.

这篇关于在Windows上的Ubuntu上以Bash复制粘贴的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆