Skip to Content

Submit your nominations for the Luxist Awards' Best in Decor
AOL Tech

Filed under: Internet, Windows, Macintosh, Linux, Unix

Post to Twitter using the command line

cURL + Twitter
File this one squarely in the "because we can," category, but the Digital Streets blog has a tip for command line junkies who want to update Twitter without opening a web browser or a 3rd party application. All you need to do is install cURL, a command line utility for Linux, Windows or OS X and then send a message to Twitter with your status updates.

In Ubuntu, here's how to install cURL:
  1. Open a terminal
  2. Type "sudo apt-get install curl" (without the quotes)
  3. Enter your root password when prompted
Once cURL is installed, you just need to type the following to send a tweet (this time you should include the quotation marks around your message): curl -u yourusername:yourpassword -d status="Your Message Here" http://twitter.com/statuses/update.xml

It's up to you to figure out why you would actually want to do this, but now you can.

Reader Comments (Page 1 of 1)

Featured Time Waster

Graveyard Shift - zombie-busting Time Waster

With Halloween fast approaching, it's a great time to get in some practice defending your territory against zombies. In Graveyard Shift, you take aim at zombies and other creepy-crawlies, blasting them into splatters of cartoony green guts. It's a casual first-person shooter, and it's very easy to get the hang of - use the mouse to aim, click to fire. Graveyard Shift has at least 15 levels, and it might even have some secret stages I haven't unlocked yet. They key to getting good at Graveyard Shift is learning to use ...

View more Time Wasters

Featured Galleries

Defective by Design, London: Protest Pictures
Microsoft Security Essentials
Chromium Pre-Alpha on CrunchBang Linux
Safari 4 Beta
10 Firefox themes that don't suck
IE8 RC1
Download Squad at the Crunchies After-Party
Download Squad at the Crunchies
WordPress 2.7
Cooking Mama: Mama Kills Animals
Windows 7 Hands On
Comodo Internet Security
Android First-look: Amazon.com MP3 Store
Android First-look: Twitroid
Google Reader Android
Android Hands-On
Twine 1.0
Photoshop Express Beta
Mozilla Birthday Cake
Palm stuff
Adobe Lightroom 1.1

 


Follow us on Twitter!

Flickr Pool

www.flickr.com

More Tech Coverage

AOL Radio