Script-fu: cat directly to X clipboard
Have you ever wanted to ‘cat’ a file directly to the clipboard? OF COURSE, why else would you be reading this sentence? Simply install ‘xclip’, which is simple also, if you are on ubuntu:
sudo apt-get install xclip
$ cat some.file | xclip
$ nslookup somehost | xclip
$ ./runsomeawesomescriptthatyouwanttheoutputintheclipboard.sh | xclip