<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>AmirWatad.com &#187; Command Line</title>
	<atom:link href="http://www.amirwatad.com/blog/archives/category/command-line/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.amirwatad.com/blog</link>
	<description>Remember the name ;)</description>
	<lastBuildDate>Wed, 22 Sep 2010 22:04:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Send Email from the Command Line using Gmail Account</title>
		<link>http://www.amirwatad.com/blog/archives/2009/03/21/send-email-from-the-command-line-using-gmail-account/</link>
		<comments>http://www.amirwatad.com/blog/archives/2009/03/21/send-email-from-the-command-line-using-gmail-account/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 10:55:19 +0000</pubDate>
		<dc:creator>Amir Watad</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Command Line Interface]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.amirwatad.com/blog/?p=395</guid>
		<description><![CDATA[Sometimes you want to send a quick/short E-mail to somebody, send a TODO item to yourself, or let a script/program Email you when it&#8217;s done. For these I found the Linux mail command very useful. Using it is as easy as typing: mail -s &#8220;Subject&#8221; receipt@domain.com Then enter the message and end it with [ctrl]+[D]. [...]<p>---------
Note:
Some RSS readers might display this post with incorrect format.
View original post at <a href="http://www.amirwatad.com/blog">AmirWatad.com </a><br/><br/><a href="http://www.amirwatad.com/blog/archives/2009/03/21/send-email-from-the-command-line-using-gmail-account/">Send Email from the Command Line using Gmail Account</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Sometimes you want to send a quick/short E-mail to somebody, send a TODO item to yourself, or let a script/program Email you when it&#8217;s done. For these I found the Linux mail command very useful.</p>
<p>Using it is as easy as typing:</p>
<blockquote><p>mail -s &#8220;Subject&#8221; receipt@domain.com</p>
</blockquote>
<p>Then enter the message and end it with [ctrl]+[D].</p>
<p>However, if your ISP s!#$% like mine, you&#8217;ll discover that no mail was really sent.</p>
<p>To work around this, I wanted to configure my mail program to use Gmail&#8217;s SMTP server.</p>
<p><span id="more-395"></span>After a little Googling I found <a title="Ubuntu Tutorials" href="http://ubuntu-tutorials.com/2008/11/11/relaying-postfix-smtp-via-smtpgmailcom/" target="_blank">this howto</a>. (Tested on Ubuntu).</p>
<p>1. First, you will need the postfix package:</p>
<blockquote><p>sudo apt-get install postfix</p>
</blockquote>
<p>2. Now configure it: Append the following to /etc/postfix/main.cf  (you need super user privileges):</p>
<blockquote><p>relayhost = [smtp.gmail.com]:587<br />
 smtp_sasl_auth_enable = yes<br />
 smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd<br />
 smtp_sasl_security_options = noanonymous<br />
 smtp_tls_CAfile = /etc/postfix/cacert.pem<br />
 smtp_use_tls = yes</p>
</blockquote>
<p>3. Next, add your username and password to /etc/postfix/sasl_passwd (create the file if it isn&#8217;t already)</p>
<blockquote><p>[smtp.gmail.com]:587      user.name@gmail.com:password</p>
</blockquote>
<p>4. Change permissions of sasl_passwd:</p>
<blockquote><p>sudo chmod 400 /etc/postfix/sasl_passwd</p>
</blockquote>
<p>5. Translate sasl_passwd into &#8220;db&#8221; file so postfix will be able to read:</p>
<blockquote><p>sudo postmap /etc/postfix/sasl_passwd</p>
</blockquote>
<p>6. Create a certificate:</p>
<blockquote><p>cat /etc/ssl/certs/Thawte_Premium_Server_CA.pem | sudo tee -a /etc/postfix/cacert.pem</p>
</blockquote>
<p>7. Restart postfix:</p>
<blockquote><p>sudo postfix stop</p>
<p>sudo postfix start</p>
</blockquote>
<p>8. Try it:</p>
<blockquote><p>mail -s &#8220;Test&#8221; my.email@domain.com</p>
</blockquote>
<p>(Then enter the message if any, and terminate with [ctrl]+[D])</p>
<p>That&#8217;s it. You&#8217;re done.</p>
<p><br class="spacer_" /></p>
<p>---------
Note:
Some RSS readers might display this post with incorrect format.
View original post at <a href="http://www.amirwatad.com/blog">AmirWatad.com </a><br/><br/><a href="http://www.amirwatad.com/blog/archives/2009/03/21/send-email-from-the-command-line-using-gmail-account/">Send Email from the Command Line using Gmail Account</a></p>
<p align="left"><a target="_blank" class="tt" href="http://twitter.com/home/?status=Send+Email+from+the+Command+Line+using+Gmail+Account+http://bit.ly/UWMWK" title="Post to Twitter"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter-big3.png" alt="Post to Twitter" style="margin:0;" title="Send Email from the Command Line using Gmail Account" /></a> <a target="_blank" class="tt" href="http://delicious.com/post?url=http://www.amirwatad.com/blog/archives/2009/03/21/send-email-from-the-command-line-using-gmail-account/&amp;title=Send+Email+from+the+Command+Line+using+Gmail+Account" title="Post to Delicious"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-delicious-big3.png" alt="Post to Delicious" style="margin:0 0 0 2px;" title="Send Email from the Command Line using Gmail Account" /></a> <a target="_blank" class="tt" href="http://digg.com/submit?url=http://www.amirwatad.com/blog/archives/2009/03/21/send-email-from-the-command-line-using-gmail-account/&amp;title=Send+Email+from+the+Command+Line+using+Gmail+Account" title="Post to Digg"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-digg-big3.png" alt="Post to Digg" style="margin:0 0 0 2px;" title="Send Email from the Command Line using Gmail Account" /></a> <a target="_blank" class="tt" href="http://www.facebook.com/share.php?u=http://www.amirwatad.com/blog/archives/2009/03/21/send-email-from-the-command-line-using-gmail-account/&amp;t=Send+Email+from+the+Command+Line+using+Gmail+Account" title="Post to Facebook"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-facebook-big3.png" alt="Post to Facebook" style="margin:0 0 0 2px;" title="Send Email from the Command Line using Gmail Account" /></a> <a target="_blank" class="tt" href="http://reddit.com/submit?url=http://www.amirwatad.com/blog/archives/2009/03/21/send-email-from-the-command-line-using-gmail-account/&amp;title=Send+Email+from+the+Command+Line+using+Gmail+Account" title="Post to Reddit"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-reddit-big3.png" alt="Post to Reddit" style="margin:0 0 0 2px;" title="Send Email from the Command Line using Gmail Account" /></a> <a target="_blank" class="tt" href="http://stumbleupon.com/submit?url=http://www.amirwatad.com/blog/archives/2009/03/21/send-email-from-the-command-line-using-gmail-account/&amp;title=Send+Email+from+the+Command+Line+using+Gmail+Account" title="Post to StumbleUpon"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-su-big3.png" alt="Post to StumbleUpon" style="margin:0 0 0 2px;" title="Send Email from the Command Line using Gmail Account" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.amirwatad.com/blog/archives/2009/03/21/send-email-from-the-command-line-using-gmail-account/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>A Bash Script To Decode TinyURLs</title>
		<link>http://www.amirwatad.com/blog/archives/2009/02/22/a-bash-script-to-decode-tinyurls/</link>
		<comments>http://www.amirwatad.com/blog/archives/2009/02/22/a-bash-script-to-decode-tinyurls/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 12:44:40 +0000</pubDate>
		<dc:creator>Amir Watad</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Command Line Interface]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Shell Scripts]]></category>

		<guid isPermaLink="false">http://www.amirwatad.com/blog/?p=267</guid>
		<description><![CDATA[This is a simple bash script, intended to decode tinyurl URLs, i.e. to revret a tinyurl into the original URL. It&#8217;s always a good practice checking where a URL will send you to before actually visiting it. For the implementation, I the &#8220;Preview&#8221; service supplied by tinyurl themselves. The script is short so I won&#8217;t [...]<p>---------
Note:
Some RSS readers might display this post with incorrect format.
View original post at <a href="http://www.amirwatad.com/blog">AmirWatad.com </a><br/><br/><a href="http://www.amirwatad.com/blog/archives/2009/02/22/a-bash-script-to-decode-tinyurls/">A Bash Script To Decode TinyURLs</a></p>
]]></description>
			<content:encoded><![CDATA[<p>This is a simple bash script, intended to decode tinyurl URLs, i.e. to revret a tinyurl into the original URL.</p>
<p>It&#8217;s always a good practice checking where a URL will send you to before actually visiting it.</p>
<p>For the implementation, I the &#8220;Preview&#8221; service supplied by tinyurl themselves.</p>
<p><span id="more-267"></span></p>
<p>The script is short so I won&#8217;t bother explaining it. If you have questions please feel free to comment.</p>
<p>We&#8217;ll call the script: deurl     (stands for: Decode URL). You might rename it as you want <img src='http://www.amirwatad.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="A Bash Script To Decode TinyURLs" /> </p>
<p>It gets as its first argument the url you want to decode.  It can be the complete URL, or just the &#8220;unique&#8221; part. All these are legal inputs:</p>
<blockquote><p>http://tinyurl.com/d5j5b7</p>
<p>http://www.tinyurl.com/d5j5b7</p>
<p>tinyurl.com/d5j5b7</p>
<p>d5j5b7</p>
</blockquote>
<p>etc..</p>
<p>so you can call the script, for example, like this:</p>
<blockquote><p>deurl d5j5b7</p>
</blockquote>
<p>And you&#8217;ll get output similar to this:</p>
<blockquote><p>http://amirwatad.com</p>
</blockquote>
<p><br class="spacer_" /></p>
<p>Here is the code:</p>
<p>Add this into a new text file:</p>
<pre>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#!/bin/bash</span><br />
<span style="color: #007800;">url</span>=<span style="color: #007800;">$*</span><br />
<span style="color: #007800;">url</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$url</span>&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'s/.*tinyurl.com\///'</span><span style="color: #000000; font-weight: bold;">`</span><br />
<span style="color: #007800;">url</span>=<span style="color: #ff0000;">&quot;preview.tinyurl.com/&quot;</span><span style="color: #007800;">$url</span><br />
<span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #660033;">-O</span> - <span style="color: #007800;">$url</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> redirecturl <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'s/.*href=\&quot;//g'</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'s/&quot;&gt;.*//g'</span></div></td></tr></tbody></table></div>
</pre>
<p>Now, save the file as deurl.</p>
<p>Make the file executable:</p>
<blockquote><p>chmod +x deurl</p>
</blockquote>
<p>Move the file to /usr/local/bin  (optionally).</p>
<p>That&#8217;s it. Now you can use it as explained above.</p>
<p>Enjoy <img src='http://www.amirwatad.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' title="A Bash Script To Decode TinyURLs" /> </p>
<p>---------
Note:
Some RSS readers might display this post with incorrect format.
View original post at <a href="http://www.amirwatad.com/blog">AmirWatad.com </a><br/><br/><a href="http://www.amirwatad.com/blog/archives/2009/02/22/a-bash-script-to-decode-tinyurls/">A Bash Script To Decode TinyURLs</a></p>
<p align="left"><a target="_blank" class="tt" href="http://twitter.com/home/?status=A+Bash+Script+To+Decode+TinyURLs+http://bit.ly/6ghLT" title="Post to Twitter"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter-big3.png" alt="Post to Twitter" style="margin:0;" title="A Bash Script To Decode TinyURLs" /></a> <a target="_blank" class="tt" href="http://delicious.com/post?url=http://www.amirwatad.com/blog/archives/2009/02/22/a-bash-script-to-decode-tinyurls/&amp;title=A+Bash+Script+To+Decode+TinyURLs" title="Post to Delicious"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-delicious-big3.png" alt="Post to Delicious" style="margin:0 0 0 2px;" title="A Bash Script To Decode TinyURLs" /></a> <a target="_blank" class="tt" href="http://digg.com/submit?url=http://www.amirwatad.com/blog/archives/2009/02/22/a-bash-script-to-decode-tinyurls/&amp;title=A+Bash+Script+To+Decode+TinyURLs" title="Post to Digg"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-digg-big3.png" alt="Post to Digg" style="margin:0 0 0 2px;" title="A Bash Script To Decode TinyURLs" /></a> <a target="_blank" class="tt" href="http://www.facebook.com/share.php?u=http://www.amirwatad.com/blog/archives/2009/02/22/a-bash-script-to-decode-tinyurls/&amp;t=A+Bash+Script+To+Decode+TinyURLs" title="Post to Facebook"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-facebook-big3.png" alt="Post to Facebook" style="margin:0 0 0 2px;" title="A Bash Script To Decode TinyURLs" /></a> <a target="_blank" class="tt" href="http://reddit.com/submit?url=http://www.amirwatad.com/blog/archives/2009/02/22/a-bash-script-to-decode-tinyurls/&amp;title=A+Bash+Script+To+Decode+TinyURLs" title="Post to Reddit"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-reddit-big3.png" alt="Post to Reddit" style="margin:0 0 0 2px;" title="A Bash Script To Decode TinyURLs" /></a> <a target="_blank" class="tt" href="http://stumbleupon.com/submit?url=http://www.amirwatad.com/blog/archives/2009/02/22/a-bash-script-to-decode-tinyurls/&amp;title=A+Bash+Script+To+Decode+TinyURLs" title="Post to StumbleUpon"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-su-big3.png" alt="Post to StumbleUpon" style="margin:0 0 0 2px;" title="A Bash Script To Decode TinyURLs" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.amirwatad.com/blog/archives/2009/02/22/a-bash-script-to-decode-tinyurls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Bash Script To Watch Live TV Streams</title>
		<link>http://www.amirwatad.com/blog/archives/2009/02/09/a-bash-script-to-watch-live-tv-streams/</link>
		<comments>http://www.amirwatad.com/blog/archives/2009/02/09/a-bash-script-to-watch-live-tv-streams/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 01:00:38 +0000</pubDate>
		<dc:creator>Amir Watad</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Command Line Interface]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Multimedia]]></category>
		<category><![CDATA[Shell Scripts]]></category>

		<guid isPermaLink="false">http://www.amirwatad.com/blog/?p=234</guid>
		<description><![CDATA[Hi, In this post I&#8217;ll introduce a very simple and basic Bash script, which uses VLC and a plain text file to let you watch Live TV streams of your favorite channels. First of all, make sure you have VLC installed in your system. Now to the script: 123456#!/bin/bash #a script to watch TV streams [...]<p>---------
Note:
Some RSS readers might display this post with incorrect format.
View original post at <a href="http://www.amirwatad.com/blog">AmirWatad.com </a><br/><br/><a href="http://www.amirwatad.com/blog/archives/2009/02/09/a-bash-script-to-watch-live-tv-streams/">A Bash Script To Watch Live TV Streams</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>In this post I&#8217;ll introduce a very simple and basic Bash script, which uses VLC and a plain text file to let you watch Live TV streams of your favorite channels.</p>
<p>First of all, make sure you have VLC installed in your system.</p>
<p><span id="more-234"></span>Now to the script:</p>
<pre>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#!/bin/bash</span><br />
<span style="color: #666666; font-style: italic;">#a script to watch TV streams with vlc</span><br />
<span style="color: #007800;">list_file</span>=~<span style="color: #000000; font-weight: bold;">/</span>.tvlist<br />
<span style="color: #007800;">channel</span>=<span style="color: #007800;">$1</span><br />
<span style="color: #007800;">channel_url</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-w</span> <span style="color: #ff0000;">&quot;#<span style="color: #007800;">$channel</span>&quot;</span> <span style="color: #007800;">$list_file</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">cut</span> <span style="color: #660033;">-f3</span> <span style="color: #660033;">-d</span><span style="color: #666666; font-style: italic;">#`</span><br />
vlc <span style="color: #660033;">-f</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$channel_url</span>&quot;</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null &nbsp;<span style="color: #666666; font-style: italic;">#run vlc in Full Screen mode and don't display warnings</span></div></td></tr></tbody></table></div>
</pre>
<p><br class="spacer_" /></p>
<p>Save the file (I&#8217;ll assume you&#8217;ll call it wtv) in /usr/local/bin/ (or anywhere else. saving it in /usr/local/bin/ will allow you to call it from anywhere).</p>
<p>Make the file executable: chmod +x wtv</p>
<p>The script assumes you have the file .tvlist in your home directory, with the following format:</p>
<p>#channel_name  #channel URL  #comments</p>
<p>A line per channel.</p>
<p>Here is an example file:</p>
<blockquote><p>#bbc  #mms://a1482.v373745.c37374.g.vm.akamaistream.net/7/1482/37374/498f5ea4/clipdownloads.bbc.co.uk/windowsmedia-acl/news/n5ctrl/summaries/world/bb/video/world_bb.wmv</p>
<p>#jazeera #mms://88.191.45.161/channel13 #arabic</p>
<p>#cnn #mms://a779.l2584224778.c25842.g.lm.akamaistream.net/D/779/25842/v0001/reflector:24778</p>
<p>#jazeera_en #mms://skinkers-livestation-client-d0ac-aljazeer-en.wm.llnwd.net/skinkers_livestation_client_d0ac_aljazeer_en</p>
<p>#islam_channel #mms://webcast.islamchannel.tv/IslamVideo</p>
<p>#haroon #mms://ib2.islambox.tv/harunyahyatv #haroon yahia tv</p>
<p><br class="spacer_" /></p>
</blockquote>
<p>Save this file as .tvlist in your home directory (or wherever you want, but remember to modify the script).</p>
<p>Now you can run the script like this:</p>
<blockquote><p>wtv cnn</p>
</blockquote>
<p>The script is very basic, it assumes that the user gives it legal input. I may modify it in the future, but this is good for my needs for now. Any ideas will be appreciated.</p>
<p>P.S.</p>
<p>I&#8217;m thinking of making a large database of such streams and providing a script/program which will fetch the channels from this database. I don&#8217;t know if I&#8217;ll have time to do and maintain this alone, so please let me know if you&#8217;re interested to help. (It can be a Bash,  Python, CSh script, or a C, C++ program).</p>
<p>Enjoy <img src='http://www.amirwatad.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="A Bash Script To Watch Live TV Streams" /> </p>
<p>---------
Note:
Some RSS readers might display this post with incorrect format.
View original post at <a href="http://www.amirwatad.com/blog">AmirWatad.com </a><br/><br/><a href="http://www.amirwatad.com/blog/archives/2009/02/09/a-bash-script-to-watch-live-tv-streams/">A Bash Script To Watch Live TV Streams</a></p>
<p align="left"><a target="_blank" class="tt" href="http://twitter.com/home/?status=A+Bash+Script+To+Watch+Live+TV+Streams+http://bit.ly/WGHYD" title="Post to Twitter"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter-big3.png" alt="Post to Twitter" style="margin:0;" title="A Bash Script To Watch Live TV Streams" /></a> <a target="_blank" class="tt" href="http://delicious.com/post?url=http://www.amirwatad.com/blog/archives/2009/02/09/a-bash-script-to-watch-live-tv-streams/&amp;title=A+Bash+Script+To+Watch+Live+TV+Streams" title="Post to Delicious"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-delicious-big3.png" alt="Post to Delicious" style="margin:0 0 0 2px;" title="A Bash Script To Watch Live TV Streams" /></a> <a target="_blank" class="tt" href="http://digg.com/submit?url=http://www.amirwatad.com/blog/archives/2009/02/09/a-bash-script-to-watch-live-tv-streams/&amp;title=A+Bash+Script+To+Watch+Live+TV+Streams" title="Post to Digg"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-digg-big3.png" alt="Post to Digg" style="margin:0 0 0 2px;" title="A Bash Script To Watch Live TV Streams" /></a> <a target="_blank" class="tt" href="http://www.facebook.com/share.php?u=http://www.amirwatad.com/blog/archives/2009/02/09/a-bash-script-to-watch-live-tv-streams/&amp;t=A+Bash+Script+To+Watch+Live+TV+Streams" title="Post to Facebook"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-facebook-big3.png" alt="Post to Facebook" style="margin:0 0 0 2px;" title="A Bash Script To Watch Live TV Streams" /></a> <a target="_blank" class="tt" href="http://reddit.com/submit?url=http://www.amirwatad.com/blog/archives/2009/02/09/a-bash-script-to-watch-live-tv-streams/&amp;title=A+Bash+Script+To+Watch+Live+TV+Streams" title="Post to Reddit"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-reddit-big3.png" alt="Post to Reddit" style="margin:0 0 0 2px;" title="A Bash Script To Watch Live TV Streams" /></a> <a target="_blank" class="tt" href="http://stumbleupon.com/submit?url=http://www.amirwatad.com/blog/archives/2009/02/09/a-bash-script-to-watch-live-tv-streams/&amp;title=A+Bash+Script+To+Watch+Live+TV+Streams" title="Post to StumbleUpon"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-su-big3.png" alt="Post to StumbleUpon" style="margin:0 0 0 2px;" title="A Bash Script To Watch Live TV Streams" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.amirwatad.com/blog/archives/2009/02/09/a-bash-script-to-watch-live-tv-streams/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Query Google Finance From the Command Line</title>
		<link>http://www.amirwatad.com/blog/archives/2008/12/26/query-google-finance-from-the-command-line/</link>
		<comments>http://www.amirwatad.com/blog/archives/2008/12/26/query-google-finance-from-the-command-line/#comments</comments>
		<pubDate>Fri, 26 Dec 2008 01:45:12 +0000</pubDate>
		<dc:creator>Amir Watad</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Command Line Interface]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[Shell Scripts]]></category>

		<guid isPermaLink="false">http://www.amirwatad.com/blog/?p=170</guid>
		<description><![CDATA[This is a one line bash script I wrote to query a stock&#8217;s price from Google Finance. It uses wget to get the HTML page from Google Finance and then grep and cut to extract the stock&#8217;s price. The script is based on the current HTML format of the Google Finance pages and might not [...]<p>---------
Note:
Some RSS readers might display this post with incorrect format.
View original post at <a href="http://www.amirwatad.com/blog">AmirWatad.com </a><br/><br/><a href="http://www.amirwatad.com/blog/archives/2008/12/26/query-google-finance-from-the-command-line/">Query Google Finance From the Command Line</a></p>
]]></description>
			<content:encoded><![CDATA[<p>This is a one line bash script I wrote to query a stock&#8217;s price from Google Finance. It uses wget to get the HTML page from Google Finance and then grep and cut to extract the stock&#8217;s price. The script is based on the current HTML format of the Google Finance pages and might not work if Google decide to change this format (It&#8217;s easy to modify, though).</p>
<p>To have the script:</p>
<p>Open your favorite text editor (mine is vim), and type/paste this:</p>
<p><span id="more-170"></span><br class="spacer_" /></p>
<pre>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#!/bin/bash</span><br />
<span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #660033;">-nv</span> <span style="color: #660033;">-O</span> - <span style="color: #ff0000;">&quot;http://finance.google.com/finance?q=$@&quot;</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #666666; font-style: italic;">#038;1| \</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">&quot;class=<span style="color: #000099; font-weight: bold;">\&quot;</span>pr<span style="color: #000099; font-weight: bold;">\&quot;</span>&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">cut</span> <span style="color: #660033;">-d</span><span style="color: #ff0000;">&quot;&gt;&quot;</span> <span style="color: #660033;">-f2</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">cut</span> <span style="color: #660033;">-d</span><span style="color: #ff0000;">&quot;&lt;&quot;</span> <span style="color: #660033;">-f1</span></div></td></tr></tbody></table></div>
</pre>
<p>save the file as (say) gfinance.</p>
<p>(A short explanation about the command:<br />
wget gets an html page and return the output. the -nv flag is for &#8220;no-verbose&#8221;, so the wget command won&#8217;t display the progress bar and other unneeded stuff (unneeded for our purpose). the &#8220;-O -&#8221; flag tells wget to print the output to stdout (instead of saving it in a file).<br />
the $@ includes all the arguments that the script received. so, if you type for example &#8220;gfinance a b&#8221;, then $@ includes &#8220;a b&#8221;.<br />
2>&#038;1 means: &#8220;Redirect file descriptor 2 (STDERR) to the same place where file descriptor 1 (STDOUT) is redirected&#8221;.<br />
grep looks for the string class=&#8221;pr&#8221;  in the stream passed it through the pipe and displays only the lines of the stream including this string.<br />
cut -d&#8221;>&#8221; -f2  is to say: Divide the stream into separate strings according to the delimiter &#8220;>&#8221; and show only the second field.<br />
That&#8217;s it. If it&#8217;s not obvious, try building the command one pipe stage at a time, and see the output, then you&#8217;ll see why wee need the next pipe.)</p>
<p>Now, to make it executable type this in the terminal (after you make your current directory the one which includes the script):</p>
<p>chmod +x gfinance</p>
<p>To use it from anywhere I usually move my scripts to /usr/local/bin/ :</p>
<p>sudo mv gfinance /usr/local/bin/.</p>
<p>That&#8217;s it. Now to query a stock just use something similar to:</p>
<p>gfinance MLNX</p>
<p>or:</p>
<p>gfinance Intel Corporation</p>
<p><br class="spacer_" /></p>
<p>Of course, this script can be optimized and extended to print more info, but it&#8217;s 3:40 AM and I want to sleep <img src='http://www.amirwatad.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' title="Query Google Finance From the Command Line" /> </p>
<p>Enjoy.</p>
<p>---------
Note:
Some RSS readers might display this post with incorrect format.
View original post at <a href="http://www.amirwatad.com/blog">AmirWatad.com </a><br/><br/><a href="http://www.amirwatad.com/blog/archives/2008/12/26/query-google-finance-from-the-command-line/">Query Google Finance From the Command Line</a></p>
<p align="left"><a target="_blank" class="tt" href="http://twitter.com/home/?status=Query+Google+Finance+From+the+Command+Line+http://bit.ly/Zcx37" title="Post to Twitter"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter-big3.png" alt="Post to Twitter" style="margin:0;" title="Query Google Finance From the Command Line" /></a> <a target="_blank" class="tt" href="http://delicious.com/post?url=http://www.amirwatad.com/blog/archives/2008/12/26/query-google-finance-from-the-command-line/&amp;title=Query+Google+Finance+From+the+Command+Line" title="Post to Delicious"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-delicious-big3.png" alt="Post to Delicious" style="margin:0 0 0 2px;" title="Query Google Finance From the Command Line" /></a> <a target="_blank" class="tt" href="http://digg.com/submit?url=http://www.amirwatad.com/blog/archives/2008/12/26/query-google-finance-from-the-command-line/&amp;title=Query+Google+Finance+From+the+Command+Line" title="Post to Digg"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-digg-big3.png" alt="Post to Digg" style="margin:0 0 0 2px;" title="Query Google Finance From the Command Line" /></a> <a target="_blank" class="tt" href="http://www.facebook.com/share.php?u=http://www.amirwatad.com/blog/archives/2008/12/26/query-google-finance-from-the-command-line/&amp;t=Query+Google+Finance+From+the+Command+Line" title="Post to Facebook"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-facebook-big3.png" alt="Post to Facebook" style="margin:0 0 0 2px;" title="Query Google Finance From the Command Line" /></a> <a target="_blank" class="tt" href="http://reddit.com/submit?url=http://www.amirwatad.com/blog/archives/2008/12/26/query-google-finance-from-the-command-line/&amp;title=Query+Google+Finance+From+the+Command+Line" title="Post to Reddit"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-reddit-big3.png" alt="Post to Reddit" style="margin:0 0 0 2px;" title="Query Google Finance From the Command Line" /></a> <a target="_blank" class="tt" href="http://stumbleupon.com/submit?url=http://www.amirwatad.com/blog/archives/2008/12/26/query-google-finance-from-the-command-line/&amp;title=Query+Google+Finance+From+the+Command+Line" title="Post to StumbleUpon"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-su-big3.png" alt="Post to StumbleUpon" style="margin:0 0 0 2px;" title="Query Google Finance From the Command Line" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.amirwatad.com/blog/archives/2008/12/26/query-google-finance-from-the-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Command Line Tools I Like</title>
		<link>http://www.amirwatad.com/blog/archives/2008/12/01/command-line-tools-i-like/</link>
		<comments>http://www.amirwatad.com/blog/archives/2008/12/01/command-line-tools-i-like/#comments</comments>
		<pubDate>Sun, 30 Nov 2008 23:06:40 +0000</pubDate>
		<dc:creator>Amir Watad</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Command Line Interface]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.amirwatad.com/blog/?p=136</guid>
		<description><![CDATA[Though my love with Linux started because its GUI, especially compiz fusion, I discovered through time that Linux&#8217;s power is in its command line, almost every thing can be done from there, easily, clean and fast. Here is a list of the command line tools I use most of the time: 1. vim: A very [...]<p>---------
Note:
Some RSS readers might display this post with incorrect format.
View original post at <a href="http://www.amirwatad.com/blog">AmirWatad.com </a><br/><br/><a href="http://www.amirwatad.com/blog/archives/2008/12/01/command-line-tools-i-like/">Command Line Tools I Like</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Though my love with Linux started because its GUI, especially compiz fusion, I discovered through time that Linux&#8217;s power is in its command line, almost every thing can be done from there, easily, clean and fast.</p>
<p>Here is a list of the command line tools I use most of the time:</p>
<p><span id="more-136"></span></p>
<p>1. <a title="vim in wikipedia" href="http://en.wikipedia.org/wiki/Vim_(text_editor)" target="_blank">vim</a>: A very powerful text editor, which runs directly inside your terminal/console. At the beginning I couldn&#8217;t find a reason why to use it, but after I started using it (for coding / general text editing) I can state that I rarely touch any other text editor.</p>
<p>2. <a title="todo txt homepage" href="http://todotxt.com/" target="_blank">todo.txt</a>: A nice and easy TODO list manager. See <a title="todo.txt post" href="http://www.amirwatad.com/blog/archives/2008/10/18/todotxt-a-simple-yet-powerful-todo-manager-for-linux/" target="_blank">my post about it</a>.</p>
<p>3. <a title="google define" href="http://shadow.eas.gatech.edu/~anewman/classes/Intro_Unix/define.html" target="_blank">define</a>: A script which allows you to query Google for a definition right from your shell.</p>
<p>4. <a title="wikipedia.sh" href="http://linuxshellaccount.blogspot.com/2008/10/bash-script-to-access-wikipedia.html" target="_blank">wikipedia.sh</a>: Query Wikipedia right from your shell.</p>
<p>5. <a title="twit cli post" href="http://www.amirwatad.com/blog/archives/2008/11/22/twitter-from-the-command-line/" target="_blank">twit</a>: A simple script to update your twitter status from the command line.</p>
<p>I&#8217;m sure I missed a few, it&#8217;s also not easy to decide which tools to include here, for example, is this the right place for &#8220;tools&#8221; like gcc or ssh? Anyway, This post may be updated from time to time.</p>
<p>---------
Note:
Some RSS readers might display this post with incorrect format.
View original post at <a href="http://www.amirwatad.com/blog">AmirWatad.com </a><br/><br/><a href="http://www.amirwatad.com/blog/archives/2008/12/01/command-line-tools-i-like/">Command Line Tools I Like</a></p>
<p align="left"><a target="_blank" class="tt" href="http://twitter.com/home/?status=Command+Line+Tools+I+Like+http://bit.ly/Opfyj" title="Post to Twitter"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter-big3.png" alt="Post to Twitter" style="margin:0;" title="Command Line Tools I Like" /></a> <a target="_blank" class="tt" href="http://delicious.com/post?url=http://www.amirwatad.com/blog/archives/2008/12/01/command-line-tools-i-like/&amp;title=Command+Line+Tools+I+Like" title="Post to Delicious"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-delicious-big3.png" alt="Post to Delicious" style="margin:0 0 0 2px;" title="Command Line Tools I Like" /></a> <a target="_blank" class="tt" href="http://digg.com/submit?url=http://www.amirwatad.com/blog/archives/2008/12/01/command-line-tools-i-like/&amp;title=Command+Line+Tools+I+Like" title="Post to Digg"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-digg-big3.png" alt="Post to Digg" style="margin:0 0 0 2px;" title="Command Line Tools I Like" /></a> <a target="_blank" class="tt" href="http://www.facebook.com/share.php?u=http://www.amirwatad.com/blog/archives/2008/12/01/command-line-tools-i-like/&amp;t=Command+Line+Tools+I+Like" title="Post to Facebook"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-facebook-big3.png" alt="Post to Facebook" style="margin:0 0 0 2px;" title="Command Line Tools I Like" /></a> <a target="_blank" class="tt" href="http://reddit.com/submit?url=http://www.amirwatad.com/blog/archives/2008/12/01/command-line-tools-i-like/&amp;title=Command+Line+Tools+I+Like" title="Post to Reddit"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-reddit-big3.png" alt="Post to Reddit" style="margin:0 0 0 2px;" title="Command Line Tools I Like" /></a> <a target="_blank" class="tt" href="http://stumbleupon.com/submit?url=http://www.amirwatad.com/blog/archives/2008/12/01/command-line-tools-i-like/&amp;title=Command+Line+Tools+I+Like" title="Post to StumbleUpon"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-su-big3.png" alt="Post to StumbleUpon" style="margin:0 0 0 2px;" title="Command Line Tools I Like" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.amirwatad.com/blog/archives/2008/12/01/command-line-tools-i-like/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Twitter from the Command Line</title>
		<link>http://www.amirwatad.com/blog/archives/2008/11/22/twitter-from-the-command-line/</link>
		<comments>http://www.amirwatad.com/blog/archives/2008/11/22/twitter-from-the-command-line/#comments</comments>
		<pubDate>Sat, 22 Nov 2008 21:20:29 +0000</pubDate>
		<dc:creator>Amir Watad</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Command Line Interface]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.amirwatad.com/blog/?p=91</guid>
		<description><![CDATA[This simple but not perfect script will let you twit easily from the command line. Open a new file with your favorite text editor, and add this: 123#!/bin/bash curl --basic --user USERNAME:PASSWORD \ --data status=&#34;$*&#34; http://twitter.com/statuses/update.xml -o /dev/null; Save the file as twit (or any other name you choose). Of course, we don&#8217;t like our [...]<p>---------
Note:
Some RSS readers might display this post with incorrect format.
View original post at <a href="http://www.amirwatad.com/blog">AmirWatad.com </a><br/><br/><a href="http://www.amirwatad.com/blog/archives/2008/11/22/twitter-from-the-command-line/">Twitter from the Command Line</a></p>
]]></description>
			<content:encoded><![CDATA[<p>This simple but not perfect script will let you twit easily from the command line.</p>
<p>Open a new file with your favorite text editor, and add this:</p>
<pre>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#!/bin/bash</span><br />
curl <span style="color: #660033;">--basic</span> <span style="color: #660033;">--user</span> USERNAME:PASSWORD \<br />
<span style="color: #660033;">--data</span> <span style="color: #007800;">status</span>=<span style="color: #ff0000;">&quot;$*&quot;</span> http:<span style="color: #000000; font-weight: bold;">//</span>twitter.com<span style="color: #000000; font-weight: bold;">/</span>statuses<span style="color: #000000; font-weight: bold;">/</span>update.xml <span style="color: #660033;">-o</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null;</div></td></tr></tbody></table></div>
</pre>
<p>Save the file as twit (or any other name you choose).</p>
<p>Of course, we don&#8217;t like our password inside an accessible plain text file. So this is what I did:</p>
<p><span id="more-91"></span></p>
<blockquote><p>sudo mv twit /usr/local/bin/.</p>
<p>sudo chmod 551 /usr/local/bin/twit</p>
<p>sudo +s /usr/local/bin/twit</p>
<p>sudo chown root /usr/local/bin/twit</p>
</blockquote>
<p>Now, only root can read the file, but a regular user can execute it. Maybe my solution is not the best possible, but it works.</p>
<p>Anyway, now, you can use this to twitter from the command line:</p>
<blockquote><p>twit &#8220;This was posted from the command line&#8221;</p>
</blockquote>
<p>That&#8217;s it. Enjoy <img src='http://www.amirwatad.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' title="Twitter from the Command Line" /> </p>
<p><br class="spacer_" /></p>
<p>This post was based on a post from <a title="LinuxJournal" href="http://www.linuxjournal.com/content/twittering-command-line" target="_blank">LinuxJournal.com</a></p>
<p><br class="spacer_" /></p>
<p>---------
Note:
Some RSS readers might display this post with incorrect format.
View original post at <a href="http://www.amirwatad.com/blog">AmirWatad.com </a><br/><br/><a href="http://www.amirwatad.com/blog/archives/2008/11/22/twitter-from-the-command-line/">Twitter from the Command Line</a></p>
<p align="left"><a target="_blank" class="tt" href="http://twitter.com/home/?status=Twitter+from+the+Command+Line+http://bit.ly/14TFDI" title="Post to Twitter"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-twitter-big3.png" alt="Post to Twitter" style="margin:0;" title="Twitter from the Command Line" /></a> <a target="_blank" class="tt" href="http://delicious.com/post?url=http://www.amirwatad.com/blog/archives/2008/11/22/twitter-from-the-command-line/&amp;title=Twitter+from+the+Command+Line" title="Post to Delicious"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-delicious-big3.png" alt="Post to Delicious" style="margin:0 0 0 2px;" title="Twitter from the Command Line" /></a> <a target="_blank" class="tt" href="http://digg.com/submit?url=http://www.amirwatad.com/blog/archives/2008/11/22/twitter-from-the-command-line/&amp;title=Twitter+from+the+Command+Line" title="Post to Digg"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-digg-big3.png" alt="Post to Digg" style="margin:0 0 0 2px;" title="Twitter from the Command Line" /></a> <a target="_blank" class="tt" href="http://www.facebook.com/share.php?u=http://www.amirwatad.com/blog/archives/2008/11/22/twitter-from-the-command-line/&amp;t=Twitter+from+the+Command+Line" title="Post to Facebook"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-facebook-big3.png" alt="Post to Facebook" style="margin:0 0 0 2px;" title="Twitter from the Command Line" /></a> <a target="_blank" class="tt" href="http://reddit.com/submit?url=http://www.amirwatad.com/blog/archives/2008/11/22/twitter-from-the-command-line/&amp;title=Twitter+from+the+Command+Line" title="Post to Reddit"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-reddit-big3.png" alt="Post to Reddit" style="margin:0 0 0 2px;" title="Twitter from the Command Line" /></a> <a target="_blank" class="tt" href="http://stumbleupon.com/submit?url=http://www.amirwatad.com/blog/archives/2008/11/22/twitter-from-the-command-line/&amp;title=Twitter+from+the+Command+Line" title="Post to StumbleUpon"><img class="nothumb" src="http://www.amirwatad.com/blog/wp-content/plugins/tweet-this/icons/tt-su-big3.png" alt="Post to StumbleUpon" style="margin:0 0 0 2px;" title="Twitter from the Command Line" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.amirwatad.com/blog/archives/2008/11/22/twitter-from-the-command-line/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.888 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-05 16:35:32 -->

