ℹ️ Skipped - page is already crawled
| Filter | Status | Condition | Details |
|---|---|---|---|
| HTTP status | PASS | download_http_code = 200 | HTTP 200 |
| Age cutoff | PASS | download_stamp > now() - 6 MONTH | 0.4 months ago |
| History drop | PASS | isNull(history_drop_reason) | No drop reason |
| Spam/ban | PASS | fh_dont_index != 1 AND ml_spam_score = 0 | ml_spam_score=0 |
| Canonical | PASS | meta_canonical IS NULL OR = '' OR = src_unparsed | Not set |
| Property | Value |
|---|---|
| URL | https://wiki.archlinux.org/title/Copying_text_from_a_terminal |
| Last Crawled | 2026-03-31 21:31:37 (12 days ago) |
| First Indexed | 2021-05-01 19:34:34 (4 years ago) |
| HTTP Status Code | 200 |
| Meta Title | Copying text from a terminal - ArchWiki |
| Meta Description | null |
| Meta Canonical | null |
| Boilerpipe Text | Most mature terminal emulators permit users to copy or save their contents.
General approach
In graphical terminal emulators, contents are typically selectable by mouse, and can then be copied using the context menu,
Edit
menu or a key combination such as
Ctrl+Shift+c
.
Terminals without CLIPBOARD selection
Xorg
Some emulators do not support the
CLIPBOARD selection
natively, and copy data to the PRIMARY selection. For them
xclip
may be used:
$ xclip -o | xclip -selection clipboard -i
The above command reads data from the PRIMARY selection and writes it to CLIPBOARD selection.
Other
clipboard managers
such as
autocutsel
AUR
provide automatic synchronization between selection buffers.
Wayland
Utilities like
wl-clipboard
and
clipboard
AUR
can copy data to the Wayland clipboard:
$ command 2>&1 | wl-copy
Intercepting commands output
Use
tee
to intercept the output of a command.
$ command 2>&1 | tee output-file
After the
command
is executed,
output-file
will contain its output, while having displayed the output at the same time.
Accessing Linux terminal backlog
The backlog of a native terminal named
/dev/tty
N
may be accessed via
/dev/vcs
N
.
Hence, if one is working in
/dev/tty1
, the following snippet will let store the backlog in a file
output-file
:
# cat /dev/vcs1 > output-file
Comparison of common emulators
The factual accuracy of this article or section is disputed.
Unless the "Key combination" column states otherwise, the key combination is
Ctrl+Shift+c
.
Emulator
Select to PRIMARY
CLIPBOARD
Key combination
Context menu
Window menu
Select
Alacritty
Yes
Yes
No
No
No
aterm
AUR
Yes
No
No
No
No
eterm
AUR
Yes
No
No
No
No
foot
Yes
Yes
No
No
Optional
germinal
AUR
Yes
Yes
Yes
No
No
Guake
Yes
Yes
Yes
No
No
Konsole
Yes
Yes
Yes
Yes
Optional
lilyterm-git
AUR
Yes
Yes
Ctrl+Delete
Yes
No
No
lxterminal
Yes
Yes
Yes
Yes
No
mate-terminal
Yes
Yes
Yes
Yes
No
mlterm
AUR
Yes
Yes
No
No
Yes
pantheon-terminal
Yes
Yes
Yes
No
No
PuTTY
Yes
No
No
No
No
qterminal
Yes
Yes
Yes
Yes
No
roxterm
AUR
Yes
Yes
Yes
Yes
No
rxvt-unicode
Yes
Yes
Ctrl+Alt+c
No
No
Optional
sakura
Yes
Yes
Yes
Yes
No
st
Yes
Yes
No
No
No
Terminator
Yes
Yes
Yes
No
No
terminology
Yes
Yes
Yes
No
No
Termite
Yes
Yes
No
No
No
Tilda
Yes
Yes
Yes
No
No
xfce4-terminal
Yes
Yes
Yes
Yes
No
xterm
Yes
Optional
[1]
No
No
Yes
Yakuake
Yes
Yes
Yes
No
Optional
Special cases
putty
The
xclip approach
works for
putty
: one just has to remember that the
xclip
invocation should be done on the local computer (in another terminal), not on the remote machine to which
putty
is connected.
urxvt
Selecting text to CLIPBOARD requires the
selection-to-clipboard
perl extension. See
rxvt-unicode#Clipboard
for details.
xterm
Access to the CLIPBOARD selection in
xterm
requires
additional steps
.
mlterm
In addition to
Ctrl+Shift+c
, you can use
Ctrl+Insert
if you do not want to kill processes accidentally. |
| Markdown | - [Home](https://archlinux.org/)
- [Packages](https://archlinux.org/packages/)
- [Forums](https://bbs.archlinux.org/)
- [Wiki](https://wiki.archlinux.org/)
- [GitLab](https://gitlab.archlinux.org/archlinux)
- [Security](https://security.archlinux.org/)
- [AUR](https://aur.archlinux.org/)
- [Download](https://archlinux.org/download/)
[Jump to content](https://wiki.archlinux.org/title/Copying_text_from_a_terminal#bodyContent)
Main menu
Main menu
move to sidebar
hide
Navigation
- [Main page](https://wiki.archlinux.org/title/Main_page "Visit the main page [alt-z]")
- [Table of contents](https://wiki.archlinux.org/title/Table_of_contents)
- [Getting involved](https://wiki.archlinux.org/title/Getting_involved "Various ways Archers can contribute to the community")
- [Wiki news](https://wiki.archlinux.org/title/ArchWiki:News "The latest lowdown on the wiki")
- [Random page](https://wiki.archlinux.org/title/Special:Random "Load a random page [alt-x]")
Interaction
- [Help](https://wiki.archlinux.org/title/Category:Help "Wiki navigation, reading, and editing help")
- [Contributing](https://wiki.archlinux.org/title/ArchWiki:Contributing)
- [Recent changes](https://wiki.archlinux.org/title/Special:RecentChanges "A list of recent changes in the wiki [alt-r]")
- [Recent talks](https://wiki.archlinux.org/index.php?title=Special:RecentChanges&namespace=all-discussions)
- [New pages](https://wiki.archlinux.org/title/Special:NewPages)
- [Statistics](https://wiki.archlinux.org/title/ArchWiki:Statistics)
- [Requests](https://wiki.archlinux.org/title/ArchWiki_talk:Requests)
[**ArchWiki**](https://wiki.archlinux.org/title/Main_page)
[Search](https://wiki.archlinux.org/title/Special:Search "Search ArchWiki [alt-f]")
Appearance
Appearance
move to sidebar
hide
Text
This page always uses small font size
Width
The content is as wide as possible for your browser window.
Color (beta)
This page is always in light mode.
- [Create account](https://wiki.archlinux.org/index.php?title=Special:CreateAccount&returnto=Copying+text+from+a+terminal "You are encouraged to create an account and log in; however, it is not mandatory")
- [Log in](https://wiki.archlinux.org/index.php?title=Special:UserLogin&returnto=Copying+text+from+a+terminal "You are encouraged to log in; however, it is not mandatory [alt-o]")
Personal tools
- [Create account](https://wiki.archlinux.org/index.php?title=Special:CreateAccount&returnto=Copying+text+from+a+terminal "You are encouraged to create an account and log in; however, it is not mandatory")
- [Log in](https://wiki.archlinux.org/index.php?title=Special:UserLogin&returnto=Copying+text+from+a+terminal "You are encouraged to log in; however, it is not mandatory [alt-o]")
Toggle the table of contents
## Contents
move to sidebar
hide
- [Beginning](https://wiki.archlinux.org/title/Copying_text_from_a_terminal)
- [1 General approach](https://wiki.archlinux.org/title/Copying_text_from_a_terminal#General_approach)
Toggle General approach subsection
- [1\.1 Terminals without CLIPBOARD selection](https://wiki.archlinux.org/title/Copying_text_from_a_terminal#Terminals_without_CLIPBOARD_selection)
- [1\.1.1 Xorg](https://wiki.archlinux.org/title/Copying_text_from_a_terminal#Xorg)
- [1\.1.2 Wayland](https://wiki.archlinux.org/title/Copying_text_from_a_terminal#Wayland)
- [1\.2 Intercepting commands output](https://wiki.archlinux.org/title/Copying_text_from_a_terminal#Intercepting_commands_output)
- [1\.3 Accessing Linux terminal backlog](https://wiki.archlinux.org/title/Copying_text_from_a_terminal#Accessing_Linux_terminal_backlog)
- [2 Comparison of common emulators](https://wiki.archlinux.org/title/Copying_text_from_a_terminal#Comparison_of_common_emulators)
- [3 Special cases](https://wiki.archlinux.org/title/Copying_text_from_a_terminal#Special_cases)
Toggle Special cases subsection
- [3\.1 putty](https://wiki.archlinux.org/title/Copying_text_from_a_terminal#putty)
- [3\.2 urxvt](https://wiki.archlinux.org/title/Copying_text_from_a_terminal#urxvt)
- [3\.3 xterm](https://wiki.archlinux.org/title/Copying_text_from_a_terminal#xterm)
- [3\.4 mlterm](https://wiki.archlinux.org/title/Copying_text_from_a_terminal#mlterm)
# Copying text from a terminal
4 languages
- [Español](https://wiki.archlinux.org/title/Copying_text_from_a_terminal_\(Espa%C3%B1ol\) "Copying text from a terminal – español")
- [日本語](https://wiki.archlinux.jp/index.php/%E3%82%BF%E3%83%BC%E3%83%9F%E3%83%8A%E3%83%AB%E3%81%8B%E3%82%89%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E3%82%92%E3%82%B3%E3%83%94%E3%83%BC "ターミナルからテキストをコピー – 日本語")
- [Русский](https://wiki.archlinux.org/title/Copying_text_from_a_terminal_\(%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9\) "Copying text from a terminal – русский")
- [中文(简体)](https://wiki.archlinuxcn.org/wiki/Copying_text_from_a_terminal "Copying text from a terminal – 中文(简体)")
- [Page](https://wiki.archlinux.org/title/Copying_text_from_a_terminal "View the content page [alt-c]")
- [Discussion](https://wiki.archlinux.org/title/Talk:Copying_text_from_a_terminal "Discussion about the content page [alt-t]")
English
- [Read](https://wiki.archlinux.org/title/Copying_text_from_a_terminal)
- [View source](https://wiki.archlinux.org/index.php?title=Copying_text_from_a_terminal&action=edit "This page is protected.
You can view its source [alt-e]")
- [View history](https://wiki.archlinux.org/index.php?title=Copying_text_from_a_terminal&action=history "Past revisions of this page [alt-h]")
Tools
Tools
move to sidebar
hide
Actions
- [Read](https://wiki.archlinux.org/title/Copying_text_from_a_terminal)
- [View source](https://wiki.archlinux.org/index.php?title=Copying_text_from_a_terminal&action=edit)
- [View history](https://wiki.archlinux.org/index.php?title=Copying_text_from_a_terminal&action=history)
General
- [What links here](https://wiki.archlinux.org/title/Special:WhatLinksHere/Copying_text_from_a_terminal "A list of all wiki pages that link here [alt-j]")
- [Related changes](https://wiki.archlinux.org/title/Special:RecentChangesLinked/Copying_text_from_a_terminal "Recent changes in pages linked from this page [alt-k]")
- [Printable version]("Printable version of this page [alt-p]")
- [Permanent link](https://wiki.archlinux.org/index.php?title=Copying_text_from_a_terminal&oldid=857737 "Permanent link to this revision of this page")
- [Page information](https://wiki.archlinux.org/index.php?title=Copying_text_from_a_terminal&action=info "More information about this page")
From ArchWiki
Most mature terminal emulators permit users to copy or save their contents.
## General approach
In graphical terminal emulators, contents are typically selectable by mouse, and can then be copied using the context menu, *Edit* menu or a key combination such as `Ctrl+Shift+c`.
### Terminals without CLIPBOARD selection
#### Xorg
Some emulators do not support the [CLIPBOARD selection](https://wiki.archlinux.org/title/Clipboard#Selections "Clipboard") natively, and copy data to the PRIMARY selection. For them [xclip](https://archlinux.org/packages/?name=xclip) may be used:
```
$ xclip -o | xclip -selection clipboard -i
```
The above command reads data from the PRIMARY selection and writes it to CLIPBOARD selection.
Other [clipboard managers](https://wiki.archlinux.org/title/Clipboard_manager "Clipboard manager") such as [autocutsel](https://aur.archlinux.org/packages/autocutsel/)AUR provide automatic synchronization between selection buffers.
#### Wayland
Utilities like [wl-clipboard](https://archlinux.org/packages/?name=wl-clipboard) and [clipboard](https://aur.archlinux.org/packages/clipboard/)AUR can copy data to the Wayland clipboard:
```
$ command 2>&1 | wl-copy
```
### Intercepting commands output
Use [tee](https://wiki.archlinux.org/title/Tee "Tee") to intercept the output of a command.
```
$ command 2>&1 | tee output-file
```
After the `command` is executed, `output-file` will contain its output, while having displayed the output at the same time.
### Accessing Linux terminal backlog
The backlog of a native terminal named `/dev/ttyN` may be accessed via `/dev/vcsN`. Hence, if one is working in `/dev/tty1`, the following snippet will let store the backlog in a file `output-file`:
```
# cat /dev/vcs1 > output-file
```
## Comparison of common emulators
**The factual accuracy of this article or section is disputed.**
**Reason:** Some "No" entries in this table may be wrong. (Discuss in [Talk:Copying text from a terminal\#A cheatsheet for common emulators: "No" entries factual accuracy](https://wiki.archlinux.org/title/Talk:Copying_text_from_a_terminal#A_cheatsheet_for_common_emulators:_"No"_entries_factual_accuracy "Talk:Copying text from a terminal"))
Unless the "Key combination" column states otherwise, the key combination is `Ctrl+Shift+c`.
| Emulator | Select to PRIMARY | CLIPBOARD | | | |
|---|---|---|---|---|---|
| Key combination | Context menu | Window menu | Select | | |
| [Alacritty](https://wiki.archlinux.org/title/Alacritty "Alacritty") | Yes | Yes | No | No | No |
| [aterm](https://aur.archlinux.org/packages/aterm/)AUR | Yes | No | No | No | No |
| [eterm](https://aur.archlinux.org/packages/eterm/)AUR | Yes | No | No | No | No |
| [foot](https://wiki.archlinux.org/title/Foot "Foot") | Yes | Yes | No | No | Optional |
| [germinal](https://aur.archlinux.org/packages/germinal/)AUR | Yes | Yes | Yes | No | No |
| [Guake](https://wiki.archlinux.org/title/Guake "Guake") | Yes | Yes | Yes | No | No |
| [Konsole](https://wiki.archlinux.org/title/Konsole "Konsole") | Yes | Yes | Yes | Yes | Optional |
| [lilyterm-git](https://aur.archlinux.org/packages/lilyterm-git/)AUR | Yes | Yes `Ctrl+Delete` | Yes | No | No |
| [lxterminal](https://archlinux.org/packages/?name=lxterminal) | Yes | Yes | Yes | Yes | No |
| [mate-terminal](https://archlinux.org/packages/?name=mate-terminal) | Yes | Yes | Yes | Yes | No |
| [mlterm](https://aur.archlinux.org/packages/mlterm/)AUR | Yes | Yes | No | No | Yes |
| [pantheon-terminal](https://archlinux.org/packages/?name=pantheon-terminal) | Yes | Yes | Yes | No | No |
| [PuTTY](https://wiki.archlinux.org/title/PuTTY "PuTTY") | Yes | No | No | No | No |
| [qterminal](https://archlinux.org/packages/?name=qterminal) | Yes | Yes | Yes | Yes | No |
| [roxterm](https://aur.archlinux.org/packages/roxterm/)AUR | Yes | Yes | Yes | Yes | No |
| [rxvt-unicode](https://wiki.archlinux.org/title/Rxvt-unicode "Rxvt-unicode") | Yes | Yes `Ctrl+Alt+c` | No | No | Optional |
| [sakura](https://archlinux.org/packages/?name=sakura) | Yes | Yes | Yes | Yes | No |
| [st](https://wiki.archlinux.org/title/St "St") | Yes | Yes | No | No | No |
| [Terminator](https://wiki.archlinux.org/title/Terminator "Terminator") | Yes | Yes | Yes | No | No |
| [terminology](https://archlinux.org/packages/?name=terminology) | Yes | Yes | Yes | No | No |
| [Termite](https://wiki.archlinux.org/title/Termite "Termite") | Yes | Yes | No | No | No |
| [Tilda](https://wiki.archlinux.org/title/Tilda "Tilda") | Yes | Yes | Yes | No | No |
| [xfce4-terminal](https://archlinux.org/packages/?name=xfce4-terminal) | Yes | Yes | Yes | Yes | No |
| [xterm](https://wiki.archlinux.org/title/Xterm "Xterm") | Yes | Optional[\[1\]](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588785) | No | No | Yes |
| [Yakuake](https://wiki.archlinux.org/title/Yakuake "Yakuake") | Yes | Yes | Yes | No | Optional |
## Special cases
### putty
The [xclip approach](https://wiki.archlinux.org/title/Copying_text_from_a_terminal#Terminals_without_CLIPBOARD_selection) works for *putty*: one just has to remember that the *xclip* invocation should be done on the local computer (in another terminal), not on the remote machine to which *putty* is connected.
### urxvt
Selecting text to CLIPBOARD requires the `selection-to-clipboard` perl extension. See [rxvt-unicode\#Clipboard](https://wiki.archlinux.org/title/Rxvt-unicode#Clipboard "Rxvt-unicode") for details.
### xterm
Access to the CLIPBOARD selection in *xterm* requires [additional steps](https://wiki.archlinux.org/title/Xterm#PRIMARY_or_CLIPBOARD "Xterm").
### mlterm
In addition to `Ctrl+Shift+c`, you can use `Ctrl+Insert` if you do not want to kill processes accidentally.
Retrieved from "<https://wiki.archlinux.org/index.php?title=Copying_text_from_a_terminal&oldid=857737>"
[Category](https://wiki.archlinux.org/title/Special:Categories "Special:Categories"):
- [Terminal emulators](https://wiki.archlinux.org/title/Category:Terminal_emulators "Category:Terminal emulators")
Hidden category:
- [Pages or sections flagged with Template:Accuracy](https://wiki.archlinux.org/title/Category:Pages_or_sections_flagged_with_Template:Accuracy "Category:Pages or sections flagged with Template:Accuracy")
- This page was last edited on 20 December 2025, at 19:59.
- Content is available under [GNU Free Documentation License 1.3 or later](https://www.gnu.org/copyleft/fdl.html) unless otherwise noted.
- [Privacy policy](https://terms.archlinux.org/docs/privacy-policy/)
- [About ArchWiki](https://wiki.archlinux.org/title/ArchWiki:About)
- [Disclaimers](https://wiki.archlinux.org/title/ArchWiki:General_disclaimer)
- [Code of conduct](https://terms.archlinux.org/docs/code-of-conduct/ "archlinux-service-agreements:code-of-conduct")
- [Terms of service](https://terms.archlinux.org/docs/terms-of-service/ "archlinux-service-agreements:terms-of-service")
- [](https://www.gnu.org/copyleft/fdl.html)
- 
Search
Toggle the table of contents
Copying text from a terminal
[Add topic](https://wiki.archlinux.org/title/Copying_text_from_a_terminal) |
| Readable Markdown | Most mature terminal emulators permit users to copy or save their contents.
General approach
In graphical terminal emulators, contents are typically selectable by mouse, and can then be copied using the context menu, *Edit* menu or a key combination such as `Ctrl+Shift+c`.
Terminals without CLIPBOARD selection
Xorg
Some emulators do not support the [CLIPBOARD selection](https://wiki.archlinux.org/title/Clipboard#Selections "Clipboard") natively, and copy data to the PRIMARY selection. For them [xclip](https://archlinux.org/packages/?name=xclip) may be used:
```
$ xclip -o | xclip -selection clipboard -i
```
The above command reads data from the PRIMARY selection and writes it to CLIPBOARD selection.
Other [clipboard managers](https://wiki.archlinux.org/title/Clipboard_manager "Clipboard manager") such as [autocutsel](https://aur.archlinux.org/packages/autocutsel/)AUR provide automatic synchronization between selection buffers.
Wayland
Utilities like [wl-clipboard](https://archlinux.org/packages/?name=wl-clipboard) and [clipboard](https://aur.archlinux.org/packages/clipboard/)AUR can copy data to the Wayland clipboard:
```
$ command 2>&1 | wl-copy
```
Intercepting commands output
Use [tee](https://wiki.archlinux.org/title/Tee "Tee") to intercept the output of a command.
```
$ command 2>&1 | tee output-file
```
After the `command` is executed, `output-file` will contain its output, while having displayed the output at the same time.
Accessing Linux terminal backlog
The backlog of a native terminal named `/dev/ttyN` may be accessed via `/dev/vcsN`. Hence, if one is working in `/dev/tty1`, the following snippet will let store the backlog in a file `output-file`:
```
# cat /dev/vcs1 > output-file
```
Comparison of common emulators
**The factual accuracy of this article or section is disputed.**
Unless the "Key combination" column states otherwise, the key combination is `Ctrl+Shift+c`.
| Emulator | Select to PRIMARY | CLIPBOARD | | | |
|---|---|---|---|---|---|
| Key combination | Context menu | Window menu | Select | | |
| [Alacritty](https://wiki.archlinux.org/title/Alacritty "Alacritty") | Yes | Yes | No | No | No |
| [aterm](https://aur.archlinux.org/packages/aterm/)AUR | Yes | No | No | No | No |
| [eterm](https://aur.archlinux.org/packages/eterm/)AUR | Yes | No | No | No | No |
| [foot](https://wiki.archlinux.org/title/Foot "Foot") | Yes | Yes | No | No | Optional |
| [germinal](https://aur.archlinux.org/packages/germinal/)AUR | Yes | Yes | Yes | No | No |
| [Guake](https://wiki.archlinux.org/title/Guake "Guake") | Yes | Yes | Yes | No | No |
| [Konsole](https://wiki.archlinux.org/title/Konsole "Konsole") | Yes | Yes | Yes | Yes | Optional |
| [lilyterm-git](https://aur.archlinux.org/packages/lilyterm-git/)AUR | Yes | Yes `Ctrl+Delete` | Yes | No | No |
| [lxterminal](https://archlinux.org/packages/?name=lxterminal) | Yes | Yes | Yes | Yes | No |
| [mate-terminal](https://archlinux.org/packages/?name=mate-terminal) | Yes | Yes | Yes | Yes | No |
| [mlterm](https://aur.archlinux.org/packages/mlterm/)AUR | Yes | Yes | No | No | Yes |
| [pantheon-terminal](https://archlinux.org/packages/?name=pantheon-terminal) | Yes | Yes | Yes | No | No |
| [PuTTY](https://wiki.archlinux.org/title/PuTTY "PuTTY") | Yes | No | No | No | No |
| [qterminal](https://archlinux.org/packages/?name=qterminal) | Yes | Yes | Yes | Yes | No |
| [roxterm](https://aur.archlinux.org/packages/roxterm/)AUR | Yes | Yes | Yes | Yes | No |
| [rxvt-unicode](https://wiki.archlinux.org/title/Rxvt-unicode "Rxvt-unicode") | Yes | Yes `Ctrl+Alt+c` | No | No | Optional |
| [sakura](https://archlinux.org/packages/?name=sakura) | Yes | Yes | Yes | Yes | No |
| [st](https://wiki.archlinux.org/title/St "St") | Yes | Yes | No | No | No |
| [Terminator](https://wiki.archlinux.org/title/Terminator "Terminator") | Yes | Yes | Yes | No | No |
| [terminology](https://archlinux.org/packages/?name=terminology) | Yes | Yes | Yes | No | No |
| [Termite](https://wiki.archlinux.org/title/Termite "Termite") | Yes | Yes | No | No | No |
| [Tilda](https://wiki.archlinux.org/title/Tilda "Tilda") | Yes | Yes | Yes | No | No |
| [xfce4-terminal](https://archlinux.org/packages/?name=xfce4-terminal) | Yes | Yes | Yes | Yes | No |
| [xterm](https://wiki.archlinux.org/title/Xterm "Xterm") | Yes | Optional[\[1\]](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588785) | No | No | Yes |
| [Yakuake](https://wiki.archlinux.org/title/Yakuake "Yakuake") | Yes | Yes | Yes | No | Optional |
Special cases
putty
The [xclip approach](https://wiki.archlinux.org/title/Copying_text_from_a_terminal#Terminals_without_CLIPBOARD_selection) works for *putty*: one just has to remember that the *xclip* invocation should be done on the local computer (in another terminal), not on the remote machine to which *putty* is connected.
urxvt
Selecting text to CLIPBOARD requires the `selection-to-clipboard` perl extension. See [rxvt-unicode\#Clipboard](https://wiki.archlinux.org/title/Rxvt-unicode#Clipboard "Rxvt-unicode") for details.
xterm
Access to the CLIPBOARD selection in *xterm* requires [additional steps](https://wiki.archlinux.org/title/Xterm#PRIMARY_or_CLIPBOARD "Xterm").
mlterm
In addition to `Ctrl+Shift+c`, you can use `Ctrl+Insert` if you do not want to kill processes accidentally. |
| Shard | 192 (laksa) |
| Root Hash | 18389268478111743592 |
| Unparsed URL | org,archlinux!wiki,/title/Copying_text_from_a_terminal s443 |