![windows command line copy text windows command line copy text](https://www.wikihow.com/images/7/77/Use-the-Command-Line-Interface-Step-8.jpg)
To change the shortcut for cut/copy/paste, open the terminal, go to the Preferences section, and find an option labeled Keyboard Shortcuts, Shortcuts, Keyboard, or the like. Changing the Default Keyboard ShortcutsĪlmost every Linux terminal emulator lets you modify the preassigned keyboard shortcuts. You can, however, change these keyboard shortcuts if you want. When the new shortcuts were introduced on Unix and Linux, Ctrl + X was changed to include the Shift key, to maintain consistency. Similarly, Ctrl + V was used for a verbatim insert. Before the introduction of a system-wide clipboard, Ctrl + C was, and still is, the standard shortcut to terminate a running program on Unix. The underlying reason for this behavior lies in Linux's Unix roots. Similarly, to paste a string of text, press Ctrl + Shift + V. The correct keyboard shortcut to copy text within a Linux terminal is Ctrl + Shift + C, and Ctrl + Shift + X for cutting.
![windows command line copy text windows command line copy text](https://l450v.alamy.com/450v/2a3rnck/vintage-grunge-old-paper-texture-as-background-with-space-for-text-or-image-2a3rnck.jpg)
This is a globally accepted convention and almost all operating systems have this combination dedicated to copying text. The command above will copy source to destination, files and directories (including empty ones), will not stop on error, will copy hidden and system files, will overwrite read only files, will preserve attributes and ownership/ACL. Example: xcopy source destination /E /C /H /R /K /O /Y.
![windows command line copy text windows command line copy text](https://i.ytimg.com/vi/9zMWXD-xoxc/maxresdefault.jpg)
The standard keyboard shortcut for copying text is Ctrl + C. The command xcopy is what you are looking for. Copying and Pasting Text Using Keyboard Shortcuts We'll show you two ways to copy/paste text within the Linux terminal so you can finally paste that command sitting in your clipboard for hours. The keyboard shortcuts work, but there's a catch. Copying and pasting text to and from the Linux command line isn't as intuitive as it should be.