System Grab Bag

View all TLDR pages from Linux (or from all pages)

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

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.