CmdID

CmdID / Commands

xsel

X11 selection and clipboard manipulation tool. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Use a command's output as input of the clipboard (equivalent to <Ctrl c>)

echo 123 | xsel --input --clipboardIdentify

Use the contents of a file as input of the clipboard

cat path/to/file | xsel --input --clipboardIdentify

Output the clipboard's contents into the terminal (equivalent to <Ctrl v>)

xsel --output --clipboardIdentify

Output the clipboard's contents into a file

xsel --output --clipboard >path/to/fileIdentify

Clear the clipboard

xsel --clear --clipboardIdentify

Output the X11 primary selection's contents into the terminal (equivalent to a mouse <MiddleClick>)

xsel --output --primaryIdentify