wl-copy
Wayland clipboard manipulation tool.
See also: wl-paste
.
More information: https://github.com/bugaevc/wl-clipboard.
- Copy the text to the clipboard:
wl-copy "{{text}}"
- Pipe the command (
ls
) output to the clipboard:{{ls}} | wl-copy
- Copy for only one paste and then clear it:
wl-copy --paste-once "{{text}}"
- Clear the clipboard:
wl-copy --clear
This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.