Copy Paste in Bash on Ubuntu on Windows

后端 未结 13 1819
没有蜡笔的小新
没有蜡笔的小新 2020-12-07 09:32

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

I tried the following:

  • ctrl + shift
13条回答
  •  忘掉有多难
    2020-12-07 09:57

    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 Options tab, click the checkbox next to QuickEdit Mode.

    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.

提交回复
热议问题