yank Command Examples

Read input from stdin and display a selection interface that allows a field to be selected and copied to the clipboard. More information: https://manned.org/yank.

{{sudo dmesg}} | yank

{{sudo dmesg}} | yank -l

{{echo hello=world}} | yank -d {{=}}

{{ps ux}} | yank -g "{{[0-9]+}}"