Skip to content

paste

Usage
paste [args...]

Outputs clipboard contents to stdout. Uses wl-paste on Wayland, falls back to xclip on X11.

Arguments:
args... Arguments forwarded to the clipboard tool

Exit Status:

0 Clipboard contents read successfully
1 No supported clipboard tool found
Returns:
The clipboard contents, printed to stdout
Examples
paste > file.txt