Appearance
cat /path/to/file | clip.exe
Copy clipboard on macOS use pbcopy
echo "Hello World" | pbcopy pbcopy < example.txt