Linux Today: Linux News On Internet Time.

More on LinuxToday

Create a Twitter Info Server with Bash

Jul 25, 2009, 03:02 (0 Talkback[s])


Desktop-as-a-Service Designed for Any Cloud ? Nutanix Frame

[ Thanks to Andrew Weber for this link. ]

"Tweet Message
The first example is a bash script that you can save in your home directory, say call it twitter.sh and then chmod 755 the script. Here is how the script works. The two variables at the start, are where you will need to enter your email address and then your password. These variables are called later in the script. The "URL" variable is used to connect to the twitter account and is used later in the script. The "result" line uses curl to send the username and password to twitter to connect to the account and then the status message is what is tweeted on your account."

Complete Story

Related Stories: