Copying and Pasting Text
Copying and pasting text between terminal windows is a common X11 operation and involves using your mouse to select, drag, and then paste selected portions of text. Your keyboard can also play a part in these operations, especially for selecting large areas of text.
Copying and pasting text is handy for quickly copying complex command lines for later use in shell scripts, for duplicating text blocks or for moving chunks of text from a program's output in a terminal window into a text editor window.
Copying and pasting words, lines, and blocks
To copy a word from text in a terminal window, double-click the word. Move to another window and press the middle mouse button (or both left and right mouse buttons simultaneously ...
Get Practical Linux now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.