Skip to content

Instantly share code, notes, and snippets.

@tedheich
Created October 21, 2009 13:11
Show Gist options
  • Save tedheich/215095 to your computer and use it in GitHub Desktop.
Save tedheich/215095 to your computer and use it in GitHub Desktop.
Small script to send twitter updates from bash
#! /bin/sh
# Simple bash script to send Tweets using bash
# author: ted heich
# blog: http://www.kindawannadothat.com
user="type-your-twitter-username-here"
password="type-your-password-here"
echo "What are you doing right now? "
read message
curl -u $user:$password -d "status=$message" "http://twitter.com/statuses/update.json"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment