Cygwin treats the Windows Clipboard like a file
In Linux every thing is a file. This is great because it means the Windows clipboard is a file too!
Want to copy the current cygwin directory into your clipboard?
pwd > /dev/clipboard
Want to print the contents of the clipboard?
cat /dev/clipboard
Notes
Posted 01/30/2010
blog comments powered by Disqus