WSL Copy to Clipboard Today I Learned • May 12, 2022 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 Tags Today I Learned WSL Subscribe to our newsletter Get the latest posts delivered right to your inbox. Your email address Subscribe Now check your inbox and click the link to confirm your subscription. Please enter a valid email address Oops! There was an error sending the email, please try later. Frank Schmidt Software Dev @ REDspace Recommended for you Today I Learned Fast AI 2 years ago • 1 min read GNOME Gnome shell Appindicator 2 years ago • 1 min read WSL Symlink from WSL to Windows 2 years ago • 1 min read