Xclip
16 Nov 2020
If you have ever had a need to move the output of a Linux console command to your clipboard, xclip
is the solution!
To copy a file’s contents to the standard “ctl+c/v” clipboard buffer issue you can following this command:
|
|
The most useful feature is reading from a stdin pipe:
|
|
…and then your ready to paste into an email or Slack chat.