Previously I posted on how to update twitter from the command line. Now I am going to build upon that and show you how to do it with twitter and facebook. To make it easier we are going to make a shell script.

#!/bin/sh
user=”Your twitter username”
pass=”Your twitter password”
curl=”/usr/bin/curl”
$curl –basic –user “$user:$pass” –data-ascii \
“status=`echo $@ [...]