💾 Archived View for freeshell.de › tldr › xclip.gmi captured on 2023-11-04 at 12:59:01. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

xclip

X11 clipboard manipulation tool, similar to `xsel`.
Handles the X primary and secondary selections, plus the system clipboard (`Ctrl + C`/`Ctrl + V`).

More information.

echo 123 | xclip
echo 123 | xclip -selection {primary|secondary|clipboard}
echo 123 | xclip -sel clip
xclip -sel clip {input_file.txt}
xclip -sel clip -t image/png {input_file.png}
xclip -i
xclip -o
xclip -o -sel clip
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY