yank

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>.

Install

All systems
curl cmd.cat/yank.sh
Debian Debian
apt-get install EMBOSS
Ubuntu
apt-get install EMBOSS
image/svg+xml Kali Linux
apt-get install EMBOSS
Windows (WSL2)
sudo apt-get update sudo apt-get install EMBOSS
Raspbian
apt-get install EMBOSS

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>.

  • Yank using the default delimiters (\f, \n, \r, \s, \t):
    sudo dmesg | yank
  • Yank an entire line:
    sudo dmesg | yank -l
  • Yank using a specific delimiter:
    echo hello=world | yank -d =
  • Only yank fields matching a specific pattern:
    ps ux | yank -g "[0-9]+"

© tl;dr; authors and contributors