linux - How to use copy and paste in Ubuntu command window?
给我你的怀抱2017-05-16 13:18:03
0
4
1390
I copied a URL on the browser of the virtual machine and wanted to install the software. How do I paste the URL I just copied in the command line mode? Ctrl + Shift + V doesn’t work
You can use select and then middle click to paste.
In the terminal, all shortcut keys in the traditional GUI interface need to be pressed and pressed before operating, otherwise they will be sent directly to the program in the terminal. For example, to paste the contents of the clipboard is Ctrl-Shift-v. Of course you can also use menu items to paste.
Extended reading: Clipboard in X Window - Evian's Blog.
ctrl+k Cut text until the end of the line ctrl+u Cut text until the beginning of the line ctrl+w Cut the word before the cursor alt+d Cut after the cursor Word ctrl+y Paste recently cut text
These commands can be used in terminal and tty, but you have to make sure that the place where you cut and the place where you copy share the same clipboard to be effective
You can use select and then middle click to paste.
In the terminal, all shortcut keys in the traditional GUI interface need to be pressed and pressed before operating, otherwise they will be sent directly to the program in the terminal. For example, to paste the contents of the clipboard is Ctrl-Shift-v. Of course you can also use menu items to paste.
Extended reading: Clipboard in X Window - Evian's Blog.
shift + insert
ctrl+k Cut text until the end of the line
ctrl+u Cut text until the beginning of the line
ctrl+w Cut the word before the cursor
alt+d Cut after the cursor Word
ctrl+y Paste recently cut text
These commands can be used in terminal and tty, but you have to make sure that the place where you cut and the place where you copy share the same clipboard to be effective
After selecting characters with the mouse, ctrl+insert is used to copy, and shift+insert is used to paste.