<?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>gHacks technology news &#187; cli</title>
	<atom:link href="http://www.ghacks.net/tag/cli/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghacks.net</link>
	<description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description>
	<lastBuildDate>Tue, 24 Nov 2009 15:18:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Tweet from the command line with Twidge</title>
		<link>http://www.ghacks.net/2009/11/13/tweet-from-the-command-line-with-twidge/</link>
		<comments>http://www.ghacks.net/2009/11/13/tweet-from-the-command-line-with-twidge/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 16:19:20 +0000</pubDate>
		<dc:creator>Jack Wallen</dc:creator>
				<category><![CDATA[Desktop Manager]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Online Services]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[The Web]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[command-line]]></category>
		<category><![CDATA[tweet]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=18472</guid>
		<description><![CDATA[For the longest time I refused to see the value in Twitter. Over the last six months I have changed my tune on that. Now I use Twitter primarily as a PR tool for my articles. And since my renewed belief in micro-blogging, I have found plenty of tools with which to enact with Twitter.
One [...]]]></description>
			<content:encoded><![CDATA[<p>For the longest time I refused to see the value in Twitter. Over the last six months I have changed my tune on that. Now I use Twitter primarily as a PR tool for my articles. And since my renewed belief in micro-blogging, I have found plenty of tools with which to enact with Twitter.</p>
<p>One tool I have found to be the least invasive is Twidge. Twidge does not have an application or daemon running in the background. Twidge does not have a panel applet. Twidge doesn&#8217;t even remain open in the terminal window. Twidge just allows you to enter commands that take specific action on your Twitter account. It&#8217;s simple, it&#8217;s fast, and it&#8217;s&#8230;well&#8230;command line fu-tastic! With that said, let&#8217;s install, configure, and use Twidge.</p>
<p><span id="more-18472"></span><strong></strong></p>
<p><strong>Features</strong></p>
<p>The first thing you need to know is if Twidge offers enough features to convince you to use it. Here is the short list:</p>
<ul>
<li>Simple to use.</li>
<li>View activity of friends.</li>
<li>Add followers.</li>
<li>Follow users.</li>
<li>Archiving of your tweets.</li>
<li>Automatic URL shortening via tinyurl.com.</li>
</ul>
<p>And much more.</p>
<p><strong>Installation</strong></p>
<p>As you would expect, twidge can be found in your distribution repositories. So all you need to do is open up a terminal and issue a command like:</p>
<p><em>sudo apt-get install twidge</em></p>
<p>or</p>
<p><em>yum install twidge</em></p>
<p>or</p>
<p><em>urpmi twidge </em></p>
<p>The installation will pick up the curl dependency automatically. After Twidge is installed, keep that terminal open because you&#8217;ll need it (at least to begin with).</p>
<p><strong>Configuration</strong></p>
<p>In order to use Twidge you have to configure it to authenticate to your account. To do this you have to run a built-in configuration script issued from the command line. Issue the command:</p>
<p><em>twidge setup</em></p>
<p>You will be asked two simple questions:</p>
<ul>
<li>Your use(r)name.</li>
<li>Your password.</li>
</ul>
<p>That&#8217;s it. Now you are ready to start using Twidge.</p>
<p><strong>Usage</strong></p>
<p>The basic usage of Twidge is:</p>
<p><em>twidge update &#8216;STATUS&#8217;</em></p>
<p>Where STATUS is what you want to post to twitter (between single quotes).</p>
<p>Of course updating is not always enough. Twidge has a number of built-in tools. Let&#8217;s take a look at what they are. NOTE: The basic usage of these tools is:</p>
<p><em>twidge TOOL OPTIONS</em></p>
<p>Where <em>TOOL </em>is the tool you want to use and <em>OPTIONS </em>are any options you want to pass to the tool (if any options are available).</p>
<p>Display updates.</p>
<ul>
<li>lsarchive: List your own posts.</li>
<li>lsdm: List direct messages sent to you.</li>
<li>lsdmarchive: List direct messages you have sent.</li>
<li>lsrecent: Lists recent posts made by you or those you follow.</li>
<li>lsreplies: Lists all recent replies made to you.</li>
<li>lsfollowers: Lists those following you.</li>
<li>lsfollowing: Lists those you are following.</li>
</ul>
<p>Action commands.</p>
<p>All of these tools are used in the same way the tools above are used, except in certain instances you proceed the tool name with username like so:</p>
<p><em>twidge TOOL USERNAME</em></p>
<p>Where TOOL is the specific tool you want to use and USERNAME is the user you want to send the information to.</p>
<ul>
<li>dmsend: Send a direct to a user.</li>
<li>follow: Follow a specific user.</li>
<li>unfollow: Stop following a user.</li>
<li>update: Update your status.</li>
</ul>
<p>So let&#8217;s say you want to update your status to say &#8220;Hey everyone, I am reading a cool article on Ghacks right now!&#8221;. To do this you would enter the command:</p>
<p><em>twidge update &#8216;Hey everyone, I am reading a cool article on Ghacks right now!&#8217;</em></p>
<p>and hit enter when you&#8217;re done.</p>
<p>Let&#8217;s say, however, you wanted to use <em>I&#8217;m </em>instead of <em>I am. </em>The use of a single quote in the middle of that tweet would cause an error. To get around that just enter:</p>
<p><em>twidge update</em></p>
<p>and then hit enter. You should notice that you do not get your bash prompt back. What you do now is type in your tweet, without using quotes, and then hit enter. This way you can use contractions without having to worry about proper shell quotes.</p>
<p><strong>Using twidge without command line</strong></p>
<p>Although Twidge is a command line only tool, you can get around opening up a terminal by opening up your desktop&#8217;s run dialog and then entering your twidge command there. If you&#8217;re using GNOME you hit &lt;Alt&gt;F2 and then enter the Twidge command in the run dialog. This keeps you from having to have yet another window open, and it&#8217;s much faster.</p>
<p><strong>Final thoughts</strong></p>
<p>I will make no bones about the fact that Twidge is not nearly as simple as the standard GUI-based tool. But Twidge makes up for that with speed, reliability, and flexibility. Because of its command line nature, you could even create a nifty bash script to use something like <em>fortune </em>and then add that bash script to a cron job so you would get an automatically updated status. Script-fu-tastic!</p>

	Tags: <a href="http://www.ghacks.net/tag/cli/" title="cli" rel="tag">cli</a>, <a href="http://www.ghacks.net/tag/command-line/" title="command-line" rel="tag">command-line</a>, <a href="http://www.ghacks.net/tag/tweet/" title="tweet" rel="tag">tweet</a>, <a href="http://www.ghacks.net/tag/twitter/" title="twitter" rel="tag">twitter</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2007/01/16/yubnub-a-social-internet-command-line/" title="YubNub a social internet command line (January 16, 2007)">YubNub a social internet command line</a> (2)</li>
	<li><a href="http://www.ghacks.net/2009/08/20/search-google-and-update-twitter-from-the-command-line/" title="Search google (and update twitter) from the command line (August 20, 2009)">Search google (and update twitter) from the command line</a> (12)</li>
	<li><a href="http://www.ghacks.net/2009/10/08/yahoo-meme-opens-registrations-for-anyone/" title="Yahoo Meme Opens Registrations For Anyone (October 8, 2009)">Yahoo Meme Opens Registrations For Anyone</a> (1)</li>
	<li><a href="http://www.ghacks.net/2009/09/22/yahoo-meme-invites/" title="Yahoo Meme Invites (September 22, 2009)">Yahoo Meme Invites</a> (48)</li>
	<li><a href="http://www.ghacks.net/2009/07/26/webmasters-search-for-links-posted-on-twitter/" title="Webmasters: Search For Links Posted On Twitter (July 26, 2009)">Webmasters: Search For Links Posted On Twitter</a> (3)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/11/13/tweet-from-the-command-line-with-twidge/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>YubNub a social internet command line</title>
		<link>http://www.ghacks.net/2007/01/16/yubnub-a-social-internet-command-line/</link>
		<comments>http://www.ghacks.net/2007/01/16/yubnub-a-social-internet-command-line/#comments</comments>
		<pubDate>Tue, 16 Jan 2007 17:28:08 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[The Web]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[command-line]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[ls]]></category>
		<category><![CDATA[social-command-line]]></category>
		<category><![CDATA[yubnub]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/2007/01/16/yubnub-a-social-internet-command-line/</guid>
		<description><![CDATA[The first time I saw the yubnub website I was thinking that no one would need this website at all but after some testing it became clear that it offers an easy way to access many services very fast without depending on bookmarks or links. If you do work with the command line in Windows or Linux you feel right at home, you enter a command and some parameters and yubnub does the rest.]]></description>
			<content:encoded><![CDATA[<p>The first time I saw the <a target="_blank" title="yubnub" href="http://yubnub.org/">yubnub</a> website I was thinking that no one would need this website at all but after some testing it became clear that it offers an easy way to access many services very fast without depending on bookmarks or links. If you do work with the command line in Windows or Linux you feel right at home, you enter a command and some parameters and yubnub does the rest.</p>
<p>A <a target="_blank" title="yubnub commands" href="http://yubnub.org/kernel/ls?args=">list of commands</a> is accessible by entering ls into the form field. I think an example will illustrate the strength of yubnub; wp ghacks searches wikipedia for the term ghacks, gim ghacks searches google images for ghacks. y or g searches yahoo or google for a selected search term. That is not all of course. AM title searches amazon for the title that you enter, random 1000 returns a random number between 1 and 1000.</p>
<p><span id="more-1107"></span>A good selection of commands that should be useful for most users are Jeremy&#8217;s Picks which displays a list of about 100 commands. It is possible to create your own commands. You do select a command string that is not used yet and select a url that uses variables to perform searches or operations. One example would be <span class="hint"> <a title="Linkification: http://images.google.com/images?q=%s" class="linkification-ext" href="http://images.google.com/images?q=%s">http://images.google.com/images?q=%s</a> which is simply the search string for google images. </span></p>
<p><span class="hint">The search string that is entered is substituted with %s in this example. It is possible to create more advanced searches  with more than one parameters.</span></p>

	Tags: <a href="http://www.ghacks.net/tag/cli/" title="cli" rel="tag">cli</a>, <a href="http://www.ghacks.net/tag/cmd/" title="cmd" rel="tag">cmd</a>, <a href="http://www.ghacks.net/tag/command-line/" title="command-line" rel="tag">command-line</a>, <a href="http://www.ghacks.net/tag/internet/" title="internet" rel="tag">internet</a>, <a href="http://www.ghacks.net/tag/ls/" title="ls" rel="tag">ls</a>, <a href="http://www.ghacks.net/tag/social-command-line/" title="social-command-line" rel="tag">social-command-line</a>, <a href="http://www.ghacks.net/tag/yubnub/" title="yubnub" rel="tag">yubnub</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/11/13/tweet-from-the-command-line-with-twidge/" title="Tweet from the command line with Twidge (November 13, 2009)">Tweet from the command line with Twidge</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/04/02/nirsoft-command-line-tool/" title="Nirsoft Command Line Tool (April 2, 2009)">Nirsoft Command Line Tool</a> (2)</li>
	<li><a href="http://www.ghacks.net/2008/06/09/console-2-a-better-cmdexe/" title="Console 2 a better cmd.exe (June 9, 2008)">Console 2 a better cmd.exe</a> (10)</li>
	<li><a href="http://www.ghacks.net/2009/06/09/wolfram-alpha-gets-its-first-core-update-after-launch/" title="Wolfram Alpha Gets Its First Core Update After Launch (June 9, 2009)">Wolfram Alpha Gets Its First Core Update After Launch</a> (3)</li>
	<li><a href="http://www.ghacks.net/2009/07/03/wireless-network-scanner-inssider/" title="Wireless Network Scanner inSSIDer (July 3, 2009)">Wireless Network Scanner inSSIDer</a> (3)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2007/01/16/yubnub-a-social-internet-command-line/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
