WSL Copy to Clipboard
When running commands in WSL sometimes you want to copy the output to the clipboard.
# Copy contents of the file to windows clipboard
cat myfile.txt | clip.exe
using xclip would just copy it to the linux clipboard
When running commands in WSL sometimes you want to copy the output to the clipboard.
# Copy contents of the file to windows clipboard
cat myfile.txt | clip.exe
using xclip would just copy it to the linux clipboard