Forrest logo
back to context overview

xsel

List of commands for xsel:

  • xsel:tldr:43bbf xsel: Use a command's output as input of the clip[b]oard (equivalent to `Ctrl + C`).
    $ echo 123 | xsel -ib
    try on your machine
    explain this command
  • xsel:tldr:8bd86 xsel: Output the clipboard's contents into the terminal (equivalent to `Ctrl + V`).
    $ xsel -ob
    try on your machine
    explain this command
  • xsel:tldr:91474 xsel: Clear the clipboard.
    $ xsel -cb
    try on your machine
    explain this command
  • xsel:tldr:9eff6 xsel: Use the contents of a file as input of the clipboard.
    $ cat ${filename} | xsel -ib
    try on your machine
    explain this command
  • xsel:tldr:b10da xsel: Output the X11 primary selection's contents into the terminal (equivalent to a mouse middle-click).
    $ xsel -op
    try on your machine
    explain this command
  • xsel:tldr:d4e95 xsel: Output the clipboard's contents into a file.
    $ xsel -ob > ${filename}
    try on your machine
    explain this command
back to context overview