skip to content
Alvin Lucillo

Redirect output to clipboard in WSL

/ 1 min read

If you’re using terminal on WSL, you can pipe the command output to clip.exe so it’s available on your clipboard.

echo "test" | clip.exe