1

I'm using Windows Terminal to access my Linux boxes and I have a need for copying data from the Linux console to the Windows host clipboard, it that possible?

More specific I run a .Net core application on Linux which need to copy a string to the clipboard.

MrCalvin
  • 1,675
  • 1
  • 19
  • 27

1 Answers1

1

Some of the way, directly on the Linux console:

printf $'\e]52;c;%s\a' "$(base64 <<<'hello world')"

Now I just need to find a was to do the same in C#

MrCalvin
  • 1,675
  • 1
  • 19
  • 27