I just added the following alias in the
alias tweet='echo "What are you doing now?"; read mesg; curl -u kousikonline -d status="$mesg" http://twitter.com/statuses/update.xml'
where kousikonline is my Twitter user name. After sourcing the
~/.bashrc you should be able to tweet from the shell! (You’ll be asked for your Twitter password, of course!)