March 23, 2009
Tweet from the command line
Twitter is awesome, but who has time to fire up a browser, log in, type what you’re doing, just to be a part of the Twitter sensation? If you spend more of your time on the command line, I’ll show you how to send your twitter messages using a simple bash script.
#!/bin/bash
user=twitteruser
pass=twitterpass
tweet=$1
curl -u ${user}:${pass} -d [...]
