Here is a simple bash script I wrote based on [Wesley Tanaka's script](http://wtanaka.com/node/7750), which in turn was based on code from [Firefox TinyUrl Creator](https://addons.mozilla.org/en-US/firefox/addon/126).
It creates a [tinyurl](http://www.tinyurl.com), echos the result, then puts it on the clipboard.
April 8th, 2009 at 3:33 pm (#)
Greetings, I wanted to add that pbcopy is an OSX Utility, so here is an alternative to pbcopy for linux users
alias pbcopy=’xclip -selection clipboard’
May 27th, 2009 at 4:10 am (#)
With the advent of the TinyURL api, the wget command has been reduced to…
wget -O – http://tinyurl.com/api-create.php?url=
May 27th, 2009 at 10:45 am (#)
Robert, thanks! I will update it.