<?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>Make Tech Easier&#187; command line</title>
	<atom:link href="http://maketecheasier.com/tag/command-line/feed" rel="self" type="application/rss+xml" />
	<link>http://maketecheasier.com</link>
	<description>Uncomplicating the complicated, making life easier</description>
	<lastBuildDate>Sun, 12 Feb 2012 15:58:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to convert XLS file to CSV in Command Line [Linux]</title>
		<link>http://maketecheasier.com/convert-xls-file-to-csv-in-command-line/2012/02/03</link>
		<comments>http://maketecheasier.com/convert-xls-file-to-csv-in-command-line/2012/02/03#comments</comments>
		<pubDate>Fri, 03 Feb 2012 15:58:52 +0000</pubDate>
		<dc:creator>Abhishek Prakash</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[csv]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[spreadsheet]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=44836</guid>
		<description><![CDATA[Converting Microsoft Excel sheet (XLS file) to a Comma Separated file (CSV) is relatively very easy while using an Office product, but it could be a tedious task for programmers to do it in command line. The situation may arrive when you have a XLS file and you need to fill the database from it [...]<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/convert-xls-file-to-csv-in-command-line/2012/02/03&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/convert-xls-file-to-csv-in-command-line/2012/02/03" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/convert-xls-file-to-csv-in-command-line/2012/02/03" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/convert-xls-file-to-csv-in-command-line/2012/02/03" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/convert-xls-file-to-csv-in-command-line/2012/02/03&amp;title=How+to+convert+XLS+file+to+CSV+in+Command+Line+%5BLinux%5D&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/convert-xls-file-to-csv-in-command-line/2012/02/03" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/convert-xls-file-to-csv-in-command-line/2012/02/03">How to convert XLS file to CSV in Command Line [Linux]</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img src="http://imagecdn.maketecheasier.com/2012/01/xls2csv-logo.png" alt="xls2csv-logo" title="xls2csv-logo" class="alignleft size-full wp-image-45064" />Converting Microsoft Excel sheet (XLS file) to a Comma Separated file (CSV) is relatively very easy while using an Office product, but it could be a tedious task for programmers to do it in command line. The situation may arrive when you have a XLS file and you need to fill the database from it after formatting the data. Converting the XLS to CSV is the ideal way here as the CSV is the format that can easily be manipulated in any language, be it Shell, Perl, Ruby, Python or Java. In this post, we will see the best ways to convert the XLS file to CSV and we will also discuss the pro and cons of using these methods.<br />
<span id="more-44836"></span></p>
<h2>catdoc (in C)</h2>
<p>The first command line tool we are going to talk about is <a href="http://vitus.wagner.pp.ru/software/catdoc/" target="_blank">catdoc</a>. The tool is written in C by V.B. Vagner.</p>
<h3>1.1 How to install it:</h3>
<p>Download the tool from <a href="http://ftp.wagner.pp.ru/pub/catdoc/catdoc-0.94.2.tar.gz" target="_blank" rel="nofollow">here</a>.  Go to your downloads directory and untar it. You can use the following commands (in case you are facing problem):</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">gunzip</span> catdoc-0.94.2.tar.gz <span style="color: #c20cb9; font-weight: bold;">tar</span> xvf catdoc-0.94.2.tar</pre></div></div>

<p>Now we have a <em>catdoc-0.94.2</em> directory. Go inside this directory and run the following commands to install it:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>configure 
<span style="color: #c20cb9; font-weight: bold;">make</span> 
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>The installation is an easy process and you should not face any problem here.</p>
<h3>1.2 How to use it:</h3>
<p>There are several option to run the command. I&#8217;ll tell the options that works best for the Microsoft Excel conversion:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">xls2csv <span style="color: #660033;">-x</span> <span style="color: #ff0000;">&quot;Path_of_Your_XLS_File&quot;</span> <span style="color: #660033;">-s</span> cp1252 <span style="color: #660033;">-d</span> <span style="color: #000000;">8859</span>-<span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #ff0000;">&quot;Path_of_Your_CSV_File&quot;</span></pre></div></div>

<p>Note the option &#8220;<em>-s</em>&#8221; and &#8220;<em>-d</em>&#8221; (stands for source and destination). These options are used to specify which character encoding is used in the source file and what would be the character encoding for the destination file. Here I have used cpl1252 which is Microsoft character encoding and 8859-1 which is used for Western European character encoding. You can use what other options are available by using the help command.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">xls2csv <span style="color: #660033;">--help</span></pre></div></div>

<h3>1.3 Pros and Cons:</h3>
<p><strong>Pros</strong>: Straight forward installation</p>
<p><strong>Cons</strong>: No selective conversion in multiple sheet scenario, it coverts all the sheets present in the xls file (one workaround would be to explicitly specify a footer in each sheet and then use option -b in the command), problems with few European characters, problem with date fields (the date fields are messed up big times), messes with quotes.</p>
<h2>xls2csv (in Perl)</h2>
<p>The second tool we are going to talk about is a Perl script <a href="http://search.cpan.org/~ken/xls2csv-1.06/script/xls2csv" target="_blank">xls2csv</a> written by Ken Prows in Perl.</p>
<h3>2.1 How to install it:</h3>
<p>Download the script <a href="http://search.cpan.org/CPAN/authors/id/K/KE/KEN/xls2csv-1.06.tar.gz" target="_blank" rel="nofollow">here</a>. Gunzip and tar it like we did in previous section and go the extracted directory and use the following commands to install it:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">perl</span> Makefile.PL 
<span style="color: #c20cb9; font-weight: bold;">make</span> 
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #7a0874; font-weight: bold;">test</span> 
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>Remember this Perl script uses a number of other Perl modules:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Locale::Recode Unicode::Map Spreadsheet::ParseExcel Text::CSV_XS</pre></div></div>

<p>While installing xls2csv, it will give error that the mentioned perl modules have not been installed. It will ask you to download the modules. Download and install these modules when asked. All these module installation requires root privileges. If you do not have root access, then you should follow the instruction given <a href="http://maketecheasier.com/install-perl-module-in-linux-without-root-permission/2012/01/20" target="_blank">here</a> to install a Perl module.</p>
<h3>2.2 How to use it:</h3>
<p>The following command can be used to convert Microsoft excel to csv:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">xls2csv <span style="color: #660033;">-x</span> <span style="color: #ff0000;">&quot;Path_of_Your_XLS_File&quot;</span> <span style="color: #660033;">-b</span> cp1252 <span style="color: #660033;">-w</span> WorkSheetName <span style="color: #660033;">-c</span> <span style="color: #ff0000;">&quot;Path_of_Your_CSV_File&quot;</span> <span style="color: #660033;">-a</span> <span style="color: #000000;">8859</span>-<span style="color: #000000;">1</span></pre></div></div>

<p>Option x and c (means xls and csv) are used to specify the input and output files where as b and a (means before and after) are used to specify the respective character encoding. We have use the same character encoding as in previous tool.</p>
<h3>2.3 Pros and cons:</h3>
<p><strong>Pros</strong>: Good with western European character conversion and date fields, supports selective multiple sheet conversion,</p>
<p><strong>Cons</strong>: Several Perl modules need to be installed, first cell should not be empty (otherwise it skips the whole row), messes with quotes</p>
<p>There are couple of other ways as well. Some scripts in Python and Java are also available to use but they are not as good as these two discussed here. I hope the article solves your problem. Question and suggestions are always welcomed. Cheers :)</p>
<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/convert-xls-file-to-csv-in-command-line/2012/02/03&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/convert-xls-file-to-csv-in-command-line/2012/02/03" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/convert-xls-file-to-csv-in-command-line/2012/02/03" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/convert-xls-file-to-csv-in-command-line/2012/02/03" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/convert-xls-file-to-csv-in-command-line/2012/02/03&amp;title=How+to+convert+XLS+file+to+CSV+in+Command+Line+%5BLinux%5D&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/convert-xls-file-to-csv-in-command-line/2012/02/03" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/convert-xls-file-to-csv-in-command-line/2012/02/03">How to convert XLS file to CSV in Command Line [Linux]</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/convert-xls-file-to-csv-in-command-line/2012/02/03/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Batch Convert Documents at the Command Line</title>
		<link>http://maketecheasier.com/batch-convert-documents-at-the-command-line/2011/09/16</link>
		<comments>http://maketecheasier.com/batch-convert-documents-at-the-command-line/2011/09/16#comments</comments>
		<pubDate>Fri, 16 Sep 2011 23:58:12 +0000</pubDate>
		<dc:creator>Scott Nesbitt</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[batch conversion]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[documents]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=38271</guid>
		<description><![CDATA[There comes a time when you need to convert one or more files to another format. Say, for example, you have a bunch of .rtf files that you want to turn into OpenDocument files. Chances are you don&#8217;t need to do that too often, but when the time comes, opening each file in a word [...]<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/batch-convert-documents-at-the-command-line/2011/09/16&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/batch-convert-documents-at-the-command-line/2011/09/16" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/batch-convert-documents-at-the-command-line/2011/09/16" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/batch-convert-documents-at-the-command-line/2011/09/16" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/batch-convert-documents-at-the-command-line/2011/09/16&amp;title=How+to+Batch+Convert+Documents+at+the+Command+Line&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/batch-convert-documents-at-the-command-line/2011/09/16" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/batch-convert-documents-at-the-command-line/2011/09/16">How to Batch Convert Documents at the Command Line</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-38272" title="Convert it!" src="http://imagecdn.maketecheasier.com/2011/09/convert.jpg" alt="Convert it!" width="160" height="100" />There comes a time when you need to convert one or more files to another format. Say, for example, you have a bunch of .rtf files that you want to turn into OpenDocument files. Chances are you don&#8217;t need to do that too often, but when the time comes, opening each file in a word processor and saving it can be a real chore.</p>
<p>If you use <a href="http://maketecheasier.com/category/openoffice">OpenOffice.org</a> or <a href="http://maketecheasier.com/tag/libreoffice">LibreOffice</a>, then you can save a lot of time by letting a command line utility called JODConverter do the work for you. Don&#8217;t let the fact that it&#8217;s a command line tool scare you. JODConverter is easy to use and fast. It&#8217;s also very effective.</p>
<p>Let&#8217;s take a look at how to use it.<br />
<span id="more-38271"></span></p>
<h2>Getting Started</h2>
<p>Before you go and grab a copy of JODConverter, you&#8217;ll need OpenOffice.org or LibreOffice and the <a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">Java Runtime Environment</a> for your operating system installed on your computer. Because it&#8217;s written in Java, JODConverter runs on Linux, Mac OS, and Windows.</p>
<p>Once you&#8217;ve made sure all of that is installed, download a copy of JODConverter. There are two version available: <a href="http://www.artofsolving.com/opensource/jodconverter">2.x</a> and <a href="http://code.google.com/p/jodconverter/">3.0</a>. The main difference between the two version is that version 3.0 supports both LibreOffice and OpenOffice.org. It also seems, from my unscientific observations, to be a bit faster than version 2.x.</p>
<p>Extract the contents of the archive you downloaded to somewhere on your hard drive. For example, if you&#8217;re using Linux and downloaded version 3.0 of JODConverter, you can extract the archive to the directory <em>/opt</em>. JODConverter will be installed in <em>/opt/jodconverter-core-3.0-beta-4</em>.</p>
<h2>Supported Conversions</h2>
<p>JODConverter is very flexible. It can convert between the following formats:</p>
<ul>
<li>Word (.doc) to or from Word OpenDocument Text (.odt)</li>
<li>Excel (.xls) to or from OpenDocument Spreadsheet (.ods)</li>
<li>PowerPoint (.ppt) to or from OpenDocument Presentation (.odp)</li>
</ul>
<p>The utility can also handle conversions from RTF and WordPerfect, older OpenOffice.org files, and can even convert all supported formats to PDF.</p>
<h2>Doing a Basic Conversion</h2>
<p>Now that everything is installed, you&#8217;re ready to go. The first thing you need to do is start OpenOffice.org in the background. To do that, open a terminal window and then type the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">soffice <span style="color: #660033;">-headless</span> <span style="color: #660033;">-accept</span>=<span style="color: #ff0000;">&quot;socket,host=127.0.0.1,port=8100;urp;&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span></pre></div></div>

<p>Stay in the terminal window and change to the directory containing the files that you want to convert. Then, run the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">java <span style="color: #660033;">-jar</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>path to JODConverter<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>.jar <span style="color: #c20cb9; font-weight: bold;">file</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> source_file output_file</pre></div></div>

<p>The path and the name of the .jar file will be different depending on the version of JODConverter that you&#8217;re using. If, for example, you&#8217;re using version 3.0, here&#8217;s a sample path:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">java <span style="color: #660033;">-jar</span> opt<span style="color: #000000; font-weight: bold;">/</span>jodconverter-core-<span style="color: #000000;">3.0</span>-beta-<span style="color: #000000;">4</span><span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>jodconverter-core-<span style="color: #000000;">3.0</span>-beta-<span style="color: #000000;">4</span>.jar source_file output_file</pre></div></div>

<p>Let&#8217;s say you have a Word file named <em>Secure_Email_Report.doc</em> that you want to convert to OpenDocument format. Just run the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">java <span style="color: #660033;">-jar</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>path to JODConverter<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>.jar <span style="color: #c20cb9; font-weight: bold;">file</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> Secure_Email_Report.doc Secure_Email_Report.odt</pre></div></div>

<h2>Doing Batch Conversions</h2>
<p>Using JODConverter to convert a single file is a waste. You can just as easily do the deed in OpenOffice.org or LibreOffice. But converting large numbers of files is where JODConverter shines. And that&#8217;s easy to do.</p>
<p>How? Just run this command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">java <span style="color: #660033;">-jar</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>path to JODConverter<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>.jar <span style="color: #c20cb9; font-weight: bold;">file</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">*</span>.input_type <span style="color: #660033;">-o</span> output_type</pre></div></div>

<p>In the command above, <em>input_type</em> is the extension of the files that you want to convert and <em>output_type</em> is the extension of the target format. For example:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">java <span style="color: #660033;">-jar</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>path to JODConverter<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>.jar <span style="color: #c20cb9; font-weight: bold;">file</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">*</span>.doc <span style="color: #660033;">-o</span> pdf</pre></div></div>

<p>This converts all Word files (*.doc) in a directory to PDF files. All you need to do is substitute the extensions of the files types that you want to convert from and to.</p>
<h2>Scripting the Conversion</h2>
<p>Typing that long string at the command line can be a chore. And if you only use JODConverter infrequently, it&#8217;s easy to forget the path and name of the .jar file that you need to include in the command.</p>
<p>To get around that problem, you can write a script or a batch file. If you&#8217;re running Linux, for example, here&#8217;s a <a href="http://maketecheasier.com/write-linux-shell-scripts/2011/06/30">good tutorial</a> on shell scripting.</p>
<p>But you don&#8217;t even need to do that. If you have Python (a popular scripting language and interpreter) installed on your computer, you can <a href="http://www.artofsolving.com/opensource/pyodconverter">download</a> and use a script named <em>DocumentConverter.py</em>.</p>
<p>To use the script, just type:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">python DocumentConverter.py input_file output_file</pre></div></div>

<p>The script doesn&#8217;t seem to work with batch conversion, though.</p>
<h2>Final Thoughts</h2>
<p>If you&#8217;re looking for a fast and efficient way to convert multiple documents to another format, then JODConverter is definitely worth a look. It&#8217;s fast, it&#8217;s efficient, and it&#8217;s flexible. On top of that, it&#8217;s fairly easy to use. Even if you only convert documents once in a blue moon, JODConverter is a good addition to your toolkit.</p>
<p>Photo credit: <a href="http://www.sxc.hu/profile/7rains" target="_blank" rel="nofollow">7rains</a></p>
<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/batch-convert-documents-at-the-command-line/2011/09/16&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/batch-convert-documents-at-the-command-line/2011/09/16" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/batch-convert-documents-at-the-command-line/2011/09/16" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/batch-convert-documents-at-the-command-line/2011/09/16" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/batch-convert-documents-at-the-command-line/2011/09/16&amp;title=How+to+Batch+Convert+Documents+at+the+Command+Line&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/batch-convert-documents-at-the-command-line/2011/09/16" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/batch-convert-documents-at-the-command-line/2011/09/16">How to Batch Convert Documents at the Command Line</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/batch-convert-documents-at-the-command-line/2011/09/16/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Play MP3s From The Linux Command Line</title>
		<link>http://maketecheasier.com/play-mp3s-from-linux-command-line/2011/08/11</link>
		<comments>http://maketecheasier.com/play-mp3s-from-linux-command-line/2011/08/11#comments</comments>
		<pubDate>Thu, 11 Aug 2011 14:58:10 +0000</pubDate>
		<dc:creator>Joshua Price</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[music player]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=36594</guid>
		<description><![CDATA[At first, this may sound pointless. After all, aren&#8217;t there dozens of perfectly good GUI music apps out there? Haven&#8217;t we all found something we like, or at least don&#8217;t hate? Perhaps that&#8217;s true, but how much happier would you be if your music app of choice used a whole lot less resources? Or what [...]<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/play-mp3s-from-linux-command-line/2011/08/11&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/play-mp3s-from-linux-command-line/2011/08/11" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/play-mp3s-from-linux-command-line/2011/08/11" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/play-mp3s-from-linux-command-line/2011/08/11" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/play-mp3s-from-linux-command-line/2011/08/11&amp;title=How+to+Play+MP3s+From+The+Linux+Command+Line&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/play-mp3s-from-linux-command-line/2011/08/11" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/play-mp3s-from-linux-command-line/2011/08/11">How to Play MP3s From The Linux Command Line</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img src="http://imagecdn.maketecheasier.com/2011/08/mpg123-logo.png" alt="mpg123-logo" title="mpg123-logo" width="190" height="178" class="alignleft size-full wp-image-36601" />At first, this may sound pointless. After all, aren&#8217;t there dozens of perfectly good GUI music apps out there? Haven&#8217;t we all found something we like, or at least <a href="http://maketecheasier.com/exaile-the-first-media-player-i-dont-hate/2010/05/04" target="_blank">don&#8217;t hate</a>? Perhaps that&#8217;s true, but how much happier would you be if your music app of choice used a <em>whole lot less</em> resources? Or what if you could type in a command on your laptop from anywhere, and have music start playing from the speakers on your desktop? If you&#8217;re in to pranks, that works just as well on a friend/co-worker&#8217;s computer. Today&#8217;s topic is <a href="http://www.mpg123.de/" target="_blank">mpg123</a>, an app which can (among other things) make a great GUI-free media player.<br />
<span id="more-36594"></span></p>
<h2>Get the app</h2>
<p>Just about any Linux distribution with online repositories will have this package available, normally as just <em>mpg123</em>. Ubuntu users can find it in the Software Center or from the command line with</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> mpg123</pre></div></div>

<p>In the event that your distribution does not have binaries available, you can download the source code <a href="http://www.mpg123.de/download.shtml" target="_blank">here</a>.  </p>
<h2>The Basics</h2>
<p>A single track can be played in a simple and pretty obvious way, just <em>mpg123</em> followed by the filename, as in:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mpg123 MySong.mp3</pre></div></div>

<p>Which will play the single track from start to finish with output something like this:</p>
<p><img src="http://imagecdn.maketecheasier.com/2011/08/mpg123-singletrack.png" alt="mpg123-singletrack" title="mpg123-singletrack" width="597" height="193" class="aligncenter size-full wp-image-36596" /></p>
<h2>Playlists</h2>
<p>You can also use shell wildcards to send <em>mpg123</em> several files at once. The simplest example is to use the above method, but replace the filename with a quick and easy <em>*.mp3</em>.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mpg123 <span style="color: #000000; font-weight: bold;">*</span>.mp3</pre></div></div>

<p>To set your playlist to shuffle mode, just add a -Z in there</p>
<p><img src="http://imagecdn.maketecheasier.com/2011/08/mpg123-playlist.png" alt="mpg123-playlist" title="mpg123-playlist" width="600" height="209" class="aligncenter size-full wp-image-36598" /></p>
<p>Optionally, you can use normal bash redirect characters to feed <em>mpg123</em> a list of filenames.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ssh</span> username<span style="color: #000000; font-weight: bold;">@</span>my-remote-machine-address
mpg123  <span style="color: #660033;">-Z</span>  -<span style="color: #000000; font-weight: bold;">@</span>  <span style="color: #000000; font-weight: bold;">&lt;</span> myplaylistfile</pre></div></div>

<p>The -@ flag tells <em>mpg123</em> to treat the following input as a playlist (it&#8217;s the shortened form of &#8211;list), and the < is a standard bash redirect to pull the text out of the file and use it as <em>mpg123</em>&#8216;s input.  </p>
<h2>Remote Play Control</h2>
<p>This isn&#8217;t exactly a &#8220;feature&#8221; of <em>mpg123</em>, it&#8217;s more like a side effect, but for this author, it&#8217;s the most handy thing about this application. You see, regular readers or Linux pros probably already know about SSH, the fantastically useful remote shell application with 1001 uses. Since SSH gives you a shell on a remote machine, you can run programs on that remote machine. As <em>mpg123</em> is just another shell application, the normal rules apply. If you SSH into a machine and run <em>mpg123</em>, it will play out that machine&#8217;s speakers.  </p>
<p>This is great for me. If I&#8217;m sitting on the porch with my netbook on a fine summer day, I can SSH into my desktop (which is hooked up to a home theater) and run a mpg123 to start my music without ever leaving the chair, or being forced to deal with the low-quality underpowered netbook speakers. Just SSH into the machine and run <em>mpg123</em> as if you were sitting at the keyboard, as in</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ssh</span> username<span style="color: #000000; font-weight: bold;">@</span>my-remote-machine-address
mpg123  <span style="color: #660033;">-Z</span>  --<span style="color: #000000; font-weight: bold;">@</span>  <span style="color: #000000; font-weight: bold;">&lt;</span> myplaylistfile</pre></div></div>

<h2>Conclusion</h2>
<p>If you like tag-based music libraries, album art, device synchronization, and other fancy features &#8211; <em>mpg123</em> is clearly not a solution for you. In fact, I doubt there are many people who&#8217;d want to use this as their primary music player on a day-to-day basis, but there are certainly times when it comes in handy. We&#8217;ve explored just a few of them, and I&#8217;m sure our readers can come up with quite a few more. If you&#8217;ve found a great use for <em>mpg123</em>, please let us know in the comments.  </p>
<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/play-mp3s-from-linux-command-line/2011/08/11&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/play-mp3s-from-linux-command-line/2011/08/11" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/play-mp3s-from-linux-command-line/2011/08/11" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/play-mp3s-from-linux-command-line/2011/08/11" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/play-mp3s-from-linux-command-line/2011/08/11&amp;title=How+to+Play+MP3s+From+The+Linux+Command+Line&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/play-mp3s-from-linux-command-line/2011/08/11" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/play-mp3s-from-linux-command-line/2011/08/11">How to Play MP3s From The Linux Command Line</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/play-mp3s-from-linux-command-line/2011/08/11/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>7 Linux Shell Tips For Increased Productivity</title>
		<link>http://maketecheasier.com/7-linux-shell-tips-for-increased-productivity/2011/06/16</link>
		<comments>http://maketecheasier.com/7-linux-shell-tips-for-increased-productivity/2011/06/16#comments</comments>
		<pubDate>Thu, 16 Jun 2011 14:58:08 +0000</pubDate>
		<dc:creator>Joshua Price</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=34129</guid>
		<description><![CDATA[Love it or hate it, the command line is here to stay. Sure, there are new options emerging like TermKit but it&#8217;s unlikely that the command line will ever really go away. Those who take the time to master it can run productivity circles around their peers, but with the astonishing assortment of CLI tools [...]<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/7-linux-shell-tips-for-increased-productivity/2011/06/16&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/7-linux-shell-tips-for-increased-productivity/2011/06/16" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/7-linux-shell-tips-for-increased-productivity/2011/06/16" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/7-linux-shell-tips-for-increased-productivity/2011/06/16" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/7-linux-shell-tips-for-increased-productivity/2011/06/16&amp;title=7+Linux+Shell+Tips+For+Increased+Productivity&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/7-linux-shell-tips-for-increased-productivity/2011/06/16" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/7-linux-shell-tips-for-increased-productivity/2011/06/16">7 Linux Shell Tips For Increased Productivity</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img src="http://imagecdn.maketecheasier.com/2011/06/linuxshelltips-small.png" alt="linuxshelltips-small" title="linuxshelltips-small" width="128" height="128" class="alignleft size-full wp-image-34154" />Love it or hate it, the command line is here to stay. Sure, there are new options emerging like <a href="http://acko.net/blog/on-termkit" target="_blank">TermKit</a> but it&#8217;s unlikely that the command line will ever really go away. Those who take the time to master it can run productivity circles around their peers, but with the astonishing assortment of CLI tools available, where do you even begin? We&#8217;ve compiled a few of the most useful tools and tricks into this guide to help new users gain some new knowledge, and old pros learn some new tricks.<br />
<span id="more-34129"></span><br />
<em>Note: Some of the tools or commands listed here may require root privileges.  </em></p>
<h2>1. Making a Temporary Filesystem (Ramdisk)</h2>
<p>There are several reasons to make a temporary RAM-based filesystem such as fast read/write times or to guarantee that the files will not persist after reboot. Making such a &#8220;fake&#8221; filesystem is easy, and just requires one command.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-t</span> tmpfs tmpfs <span style="color: #000000; font-weight: bold;">/</span>mytemppartition <span style="color: #660033;">-o</span> <span style="color: #007800;">size</span>=1024m</pre></div></div>

<p>Where <em>/mytemppartion</em> is the location you wish to mount (it must already exist) and <em>1024m</em> is the desired size of the ramdisk.  </p>
<h2>2. Quickly Scheduling Commands</h2>
<p>Linux pros almost certainly know the <em>at</em> command, it lets you set a specific time for a job to be run. You simply say what to do and when to do it, and <em>at</em> takes care of the rest. Its usage can be confusing for some, so here&#8217;s one common way of scheduling a task with <em>at</em>.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">at <span style="color: #000000;">12</span>:<span style="color: #000000;">30</span> <span style="color: #666666; font-style: italic;">#Enter key</span>
somecommandtorun
anothercommand
<span style="color: #666666; font-style: italic;">#ctrl-D</span></pre></div></div>

<p>If you want to verify that it worked, you can easily list the sceduled jobs with</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">at <span style="color: #660033;">-l</span></pre></div></div>

<h2>3. Re-run Previous Commands</h2>
<p>Perhaps you ran a long complicated command, but forgot to preface it with <em>sudo</em>, or maybe you didn&#8217;t add some necessary options to the end. Instead of retyping the whole thing or going back through your shell history, you can use &#8220;double bangs&#8221; to represent your last command.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>myDir
<span style="color: #666666; font-style: italic;">#Permission denied</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">!!</span>
<span style="color: #666666; font-style: italic;">#Success!</span></pre></div></div>

<p>If you&#8217;re the type who tracks your command history numbers, you can use the same approach to recall any previous command by referencing its number:</p>
<p><img src="http://imagecdn.maketecheasier.com/2011/06/linuxshelltips-banghistory.png" alt="linuxshelltips-banghistory" title="linuxshelltips-banghistory" width="494" height="189" class="aligncenter size-full wp-image-34147" /></p>
<h2>4. Find the PID of a Process</h2>
<p>If you need to kill a particular process but don&#8217;t have its PID, there&#8217;s a simple shortcut to find it &#8211; the pgrep command. It doesn&#8217;t do anything that can&#8217;t be done with a combination of <em>ps</em> and <em>grep</em>, but every little bit helps.  </p>
<p><img src="http://imagecdn.maketecheasier.com/2011/06/linuxshelltips-pgrep.png" alt="linuxshelltips-pgrep" title="linuxshelltips-pgrep" width="285" height="101" class="aligncenter size-full wp-image-34148" /></p>
<h2>5. Find the Fastest Apt Mirror</h2>
<p>Most Debian-derived distributions (but not Ubuntu) have access to a great tool that seems to go largely unnoticed. It&#8217;s called apt-spy, and its purpose is to scan the list of known Debian mirrors to find the fastest one <em>for you</em>.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">apt-spy update
<span style="color: #666666; font-style: italic;">#This example will scan stable branch of 20 american mirrors for 30 seconds each</span>
apt-spy <span style="color: #660033;">-d</span> stable <span style="color: #660033;">-a</span> America <span style="color: #660033;">-e</span> <span style="color: #000000;">20</span> <span style="color: #660033;">-t</span> <span style="color: #000000;">30</span></pre></div></div>

<h2>6. Show Listening Ports and their Processes</h2>
<p>If you need to see what&#8217;s listening for connections on your system, and the processes handling those connections, the old trusty netstat tool is up to the job. Try</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">netstat</span> <span style="color: #660033;">-tlnp</span></pre></div></div>

<p>to see just such a list.  </p>
<h2>7. SSH Without Passwords</h2>
<p>Many people, such as this author, use SSH on a nearly constant basis. It&#8217;s a great tool, there&#8217;s no denying that, but having to constantly retype your passwords can get annoying. Instead, you can simply copy your (public) SSH information to the remote machine, allowing it to authenticate you without requiring your password, and all you need is a single command.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ssh-copy-id username<span style="color: #000000; font-weight: bold;">@</span>remote-machine</pre></div></div>

<h2>Conclusion</h2>
<p>Obviously we&#8217;ve only begun to scratch the surface when it comes to useful CLI tools, but the ones listed here are a few of those that we at MTE consider indispensable. If you&#8217;ve got any favorite utilities that we forgot to mention, let us know in the comments below.</p>
<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/7-linux-shell-tips-for-increased-productivity/2011/06/16&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/7-linux-shell-tips-for-increased-productivity/2011/06/16" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/7-linux-shell-tips-for-increased-productivity/2011/06/16" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/7-linux-shell-tips-for-increased-productivity/2011/06/16" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/7-linux-shell-tips-for-increased-productivity/2011/06/16&amp;title=7+Linux+Shell+Tips+For+Increased+Productivity&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/7-linux-shell-tips-for-increased-productivity/2011/06/16" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/7-linux-shell-tips-for-increased-productivity/2011/06/16">7 Linux Shell Tips For Increased Productivity</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/7-linux-shell-tips-for-increased-productivity/2011/06/16/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Take Your To Do List to the Command Line with iKog</title>
		<link>http://maketecheasier.com/take-your-to-do-list-to-the-command-line-with-ikog/2011/05/13</link>
		<comments>http://maketecheasier.com/take-your-to-do-list-to-the-command-line-with-ikog/2011/05/13#comments</comments>
		<pubDate>Fri, 13 May 2011 23:58:19 +0000</pubDate>
		<dc:creator>Scott Nesbitt</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[tasks]]></category>
		<category><![CDATA[todo]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=32841</guid>
		<description><![CDATA[I like a good GUI as much as the next person, but some things beg for a little more simplicity. One of those things is a to do list. Which is why I turn to the command line and a text file for mine. Of the several command line to do applications out there in [...]<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/take-your-to-do-list-to-the-command-line-with-ikog/2011/05/13&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/take-your-to-do-list-to-the-command-line-with-ikog/2011/05/13" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/take-your-to-do-list-to-the-command-line-with-ikog/2011/05/13" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/take-your-to-do-list-to-the-command-line-with-ikog/2011/05/13" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/take-your-to-do-list-to-the-command-line-with-ikog/2011/05/13&amp;title=Take+Your+To+Do+List+to+the+Command+Line+with+iKog&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/take-your-to-do-list-to-the-command-line-with-ikog/2011/05/13" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/take-your-to-do-list-to-the-command-line-with-ikog/2011/05/13">Take Your To Do List to the Command Line with iKog</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-32842" title="todo list" src="http://imagecdn.maketecheasier.com/2011/05/todo.jpg" alt="todo list" width="160" height="107" align="left" /> I like a good GUI as much as the next person, but some things beg for a little more simplicity. One of those things is a to do list. Which is why I turn to the command line and a text file for mine.</p>
<p>Of the several command line to do applications out there in the Linux ecosystem, which one should you choose? That&#8217;s up to you to decide, but you might want to take a look at <a href="http://www.henspace.co.uk/ikog/index.html">iKog</a>. Short for <strong>it Keeps on growing</strong>, iKog is a Python script that helps you manage your tasks. If you&#8217;re into Getting Things Done (GTD for short, a popular method for personal organization), then it&#8217;s worth the time to check out iKog.<br />
<span id="more-32841"></span></p>
<h2>Installing</h2>
<p>First off, make sure that you have <a href="http://python.org/">Python</a> installed on your computer. If you&#8217;re using Linux, then chances are that you do. To check, open a terminal window and type <strong>which python</strong>. The command should return something like <strong>/usr/bin/python</strong>. If not, install Python using your package manager or by <a href="http://python.org/download/">downloading</a> an installer or source package.</p>
<p>From there, <a href="http://www.henspace.co.uk/ikog/index.html">download the script</a>. For convenience, grab the file <em>ikog.py.gz</em>. Once it&#8217;s downloaded, open a terminal window and navigate to the directory in which the file was saved. Then, run the following commands:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">gzip</span> <span style="color: #660033;">-d</span> ikog.py.gz
<span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">700</span> ikog.py
<span style="color: #c20cb9; font-weight: bold;">mv</span> ikog.py ikog</pre></div></div>

<p>The commands extract the script from its archive, make it executable, and rename the script to ikog. The last command isn&#8217;t necessary; I just do that to save keystrokes.</p>
<p>From there, move the file to a location in your path, for example, /usr/local/bin.</p>
<p><!--adsense#468--></p>
<h2>Using iKog</h2>
<p>Whenever you want to work with your task list, open a terminal window and run the command <strong>ikog</strong> (or <strong>ikog.py</strong>, if you didn&#8217;t rename the script). You&#8217;ll see a a program screen and not much else. The first thing that you want to do is add a task. To do that, type <strong>add [task]</strong> &#8212; for example, <strong>add Write iKog post for MTE</strong>. Then, press Enter.</p>
<p><img class="aligncenter size-full wp-image-32844" title="Add a task" src="http://imagecdn.maketecheasier.com/2011/05/MTE_ikog_add.png" alt="Add a task" width="443" height="345" /></p>
<p>Remember when I mentioned GTD a few paragraphs ago? Well, GTD has a concept called <strong>contexts</strong>. A context is a thing, place, or person that you need to complete a task. All contexts have an <strong>@</strong> sign in front of them For example, @HomeOffice denotes a task that you need to do in your home office. Contexts also enable you to filter tasks; more on this soon. To include a context when adding a task, type <strong>add  @Context</strong> &#8212; for example, <strong>add Research neighborhood history @Library</strong>.</p>
<p><img class="aligncenter size-full wp-image-32845" title="Adding a context" src="http://imagecdn.maketecheasier.com/2011/05/MTE_ikog_context.png" alt="Adding a context" width="474" height="328" /></p>
<p>Adding tasks is one thing, but how do you review them? By typing <strong>list</strong>, which displays all of your tasks.</p>
<p><img class="aligncenter size-full wp-image-32846" title="Listing tasks" src="http://imagecdn.maketecheasier.com/2011/05/MTE_ikog_list.png" alt="Listing tasks" width="593" height="328" /></p>
<p>If you want to filter by a particular context, just type <strong>list @Context</strong> &#8212; for example, <strong>list @HomeOffice</strong>.</p>
<p>Notice that in the list, each task has a number. That number comes in handy when you want to complete a task. To do that, type <strong>done [task number]</strong> &#8212; for example, <strong>done 1</strong>. You&#8217;ll be asked to confirm that you want to complete the task. Just type <strong>Yes</strong> and press Enter.</p>
<p><img class="aligncenter size-full wp-image-32847" title="Completing a task" src="http://imagecdn.maketecheasier.com/2011/05/MTE_ikog_done.png" alt="Completing a task" width="593" height="328" /></p>
<h2>That&#8217;s great, but where is my data stored?</h2>
<p>Believe it or not, it&#8217;s stored within the iKog script. That makes iKog very portable. If you need to access your to do list across multiple computers that have Python installed on them, you can get a <a href="http://db.tt/9ShkhY8">Dropbox</a> account and save the iKog script in a folder in Dropbox. Or save the script to a USB flash drive. Just run iKog from either location.</p>
<p>Of course, storing the data in the script opens you up to problems. What happens if you accidentally delete the script? In iKog, you can enter the command <strong>export</strong> to save your data in a text file called ikog.tasks.txt. If something happens to the script, you can install a fresh version and then enter the command <strong>import ikog.tasks.txt</strong> to pull in your data.</p>
<p>iKog is easy to use and is very flexible. It has a number of useful options &#8211; this post only took a look at a handful of them. If you want to make your to do list portable, then makes doing that very easy.</p>
<p>Photo credit: <a href="http://morguefile.com/creative/xololounge">xololounge</a></p>
<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/take-your-to-do-list-to-the-command-line-with-ikog/2011/05/13&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/take-your-to-do-list-to-the-command-line-with-ikog/2011/05/13" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/take-your-to-do-list-to-the-command-line-with-ikog/2011/05/13" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/take-your-to-do-list-to-the-command-line-with-ikog/2011/05/13" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/take-your-to-do-list-to-the-command-line-with-ikog/2011/05/13&amp;title=Take+Your+To+Do+List+to+the+Command+Line+with+iKog&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/take-your-to-do-list-to-the-command-line-with-ikog/2011/05/13" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/take-your-to-do-list-to-the-command-line-with-ikog/2011/05/13">Take Your To Do List to the Command Line with iKog</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/take-your-to-do-list-to-the-command-line-with-ikog/2011/05/13/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rip Your CDs At The Command Line</title>
		<link>http://maketecheasier.com/rip-cds-at-command-line/2011/04/22</link>
		<comments>http://maketecheasier.com/rip-cds-at-command-line/2011/04/22#comments</comments>
		<pubDate>Fri, 22 Apr 2011 23:58:30 +0000</pubDate>
		<dc:creator>Scott Nesbitt</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[cds]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[rip]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=32175</guid>
		<description><![CDATA[Are you looking for a fast, efficient, and easy way to rip music from your CDs in Linux? Then look no further than the command line. Yes, you read that correctly. The command line. For a variety of reasons, the Linux command line has a reputation for being difficult and unwieldy. In some cases, that&#8217;s [...]<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/rip-cds-at-command-line/2011/04/22&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/rip-cds-at-command-line/2011/04/22" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/rip-cds-at-command-line/2011/04/22" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/rip-cds-at-command-line/2011/04/22" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/rip-cds-at-command-line/2011/04/22&amp;title=Rip+Your+CDs+At+The+Command+Line&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/rip-cds-at-command-line/2011/04/22" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/rip-cds-at-command-line/2011/04/22">Rip Your CDs At The Command Line</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-32176" title="Rip these!" src="http://imagecdn.maketecheasier.com/2011/04/ripit-cds.jpg" alt="Rip these!" width="160" height="120" />Are you looking for a fast, efficient, and easy way to rip music from your CDs in Linux? Then look no further than the command line. Yes, you read that correctly. The <em>command line</em>.</p>
<p>For a variety of reasons, the Linux command line has a reputation for being difficult and unwieldy. In some cases, that&#8217;s true. But a script called <a href="http://www.suwald.com/ripit/news.php">ripit</a> turns the command line into an excellent and deceptively simple environment for ripping CDs.</p>
<p>Let&#8217;s take a look at how ripit works.<br />
<span id="more-32175"></span></p>
<h3>ripit?</h3>
<p>ripit isn&#8217;t a program. It&#8217;s a Perl script that acts as an interface to a number of command line CD utilities including <a href="http://web.tiscalinet.it/marcellou/dagrab.html">dagrab</a>, <a href="http://xiph.org/paranoia/index.html">cdparanoia</a>, and <a href="http://www.cdda2wav.de/">cdda2wav</a>. The default is cdparanoia.</p>
<p>Instead of having to remember long string of options, ripit walks you through the steps required to rip a CD. You can include a number of command line options if you want or, if you frequently use certain options, save them to a configuration file. More on this later. You can also run ripit with no interaction.</p>
<h3>Installation</h3>
<p>Obviously, you&#8217;ll need to download and install</a> the script. If you don&#8217;t have one of the CD utilities mentioned earlier, you can install it using your distro&#8217;s package manager. You&#8217;ll also need to install a Perl module called <a href="http://armin.emx.at/cddb/">CDDB_get</a>, which gets information about each track on the CD from an online database called <a href="http://en.wikipedia.org/wiki/CDDB">CDDB</a>.</p>
<p>1. Download <a href="http://www.suwald.com/ripit/install.php">ripit-3.9.0.tar.gz</a> to your home folder.</p>
<p>2. Open a terminal and run the commands:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> xvvfz ripit-3.9.0.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> ripit-3.9.0
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<h3>Usage</h3>
<p>Once ripit is installed, just pop a music CD into your computer&#8217;s CD-ROM drive, open a terminal, and type</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ripit</pre></div></div>

<p><img class="aligncenter size-full wp-image-32178" title="ripit in action" src="http://imagecdn.maketecheasier.com/2011/04/ripit1.png" alt="ripit in action" width="529" height="364" /></p>
<p>You&#8217;ll be asked to pick a title from a list. Press 1 on your keyboard and then press Enter. Next, ripit will ask if you want to add or edit information from CDDB. With most CDs, you can just press Enter to skip this step.</p>
<p>If you want to skip those steps, type</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ripit <span style="color: #660033;">--nointeraction</span></pre></div></div>

<p>.<br />
In either case, ripit will rip all songs on the CD. Each song will be saved as an MP3 file in your <em>/home</em> directory.</p>
<h3>Getting fancy</h3>
<p>But what if you don&#8217;t want to rip every track on a CD? You can tell ripit to rip only certain tracks or a range of tracks. So, if you want to rip tracks 2, 5, and 9 on a CD, type</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ripit <span style="color: #000000;">2</span>,<span style="color: #000000;">5</span>,<span style="color: #000000;">9</span></pre></div></div>

<p>.<br />
Or, if you want to rip tracks 4 to 8, type</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ripit <span style="color: #000000;">4</span>-<span style="color: #000000;">8</span></pre></div></div>

<p><img class="aligncenter size-full wp-image-32179" title="Ripping specific tracks" src="http://imagecdn.maketecheasier.com/2011/04/ripit2.png" alt="Ripping specific tracks" width="458" height="291" /></p>
<p>By default, ripit will save files in a folder in your <em>/home</em> directory with the name of the CD &#8212; for example, <em>Various Artists &#8211; Putumayo Presents&#8230; Turkish Groove</em>. If you&#8217;d rather save the files to, say, the folder <em>/home/(yourName)/music</em>, use the command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ripit <span style="color: #660033;">--outputdir</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">&#40;</span>yourName<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #000000; font-weight: bold;">/</span>music</pre></div></div>

<h3>Saving in other formats</h3>
<p>So what if MP3s aren&#8217;t to your liking? ripit can output files in several other formats, including Ogg, FLAC, MP4, FAAC, and WAV.</p>
<p>Add the option <code>--coder=</code> followed by one of the following numbers to the command line:</p>
<ul>
<li>1 (Ogg)</li>
<li>2 (FLAC)</li>
<li>3 (FAAC)</li>
<li>4 (MP4)</li>
<li>6 (WAV)</li>
</ul>
<p>For example:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ripit <span style="color: #660033;">--coder</span>=<span style="color: #000000;">1</span> <span style="color: #666666; font-style: italic;">#rip in Ogg format</span></pre></div></div>

<h3>Using a configuration file</h3>
<p>Nobody wants to remember a bunch of command line options. Especially if you don&#8217;t use ripit all that often. You can get around that by specifying the options that you need along with the <code>--config</code> option. ripit will save a configuration file, called <em>config</em>, to the folder <em>.ripit</em> in your /home directory.</p>
<p>You only have to do this once. Whenever you run ripit, the script reads the configuration file.</p>
<h3>Is that all?</h3>
<p>Definitely not. This post only scratches the surface of ripit&#8217;s capabilities. Just type <code>ripit --help</code> to get a full list of options. Then, choose the ones that you use most and save them to a configuration file.</p>
<p>If you&#8217;re a command line junkie who rips a lot (or even a little) music, then you&#8217;ll find ripit to be an indispensable tool. It&#8217;s easy to use and gets the job done quickly and efficiently.</p>
<p>Photo credit: <a href="http://www.sxc.hu/profile/grz3gorz" target="_blank" rel="nofollow">grz3gorz</a></p>
<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/rip-cds-at-command-line/2011/04/22&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/rip-cds-at-command-line/2011/04/22" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/rip-cds-at-command-line/2011/04/22" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/rip-cds-at-command-line/2011/04/22" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/rip-cds-at-command-line/2011/04/22&amp;title=Rip+Your+CDs+At+The+Command+Line&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/rip-cds-at-command-line/2011/04/22" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/rip-cds-at-command-line/2011/04/22">Rip Your CDs At The Command Line</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/rip-cds-at-command-line/2011/04/22/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Fix Network Problems Using Command Line Tools In Windows 7</title>
		<link>http://maketecheasier.com/fix-network-problems-in-windows-7/2011/02/08</link>
		<comments>http://maketecheasier.com/fix-network-problems-in-windows-7/2011/02/08#comments</comments>
		<pubDate>Tue, 08 Feb 2011 12:58:16 +0000</pubDate>
		<dc:creator>Angel Luis</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=29283</guid>
		<description><![CDATA[Solving a network problem can be hard and frustrating. While you can check your internet connection using the Windows Network Diagnostic tool, it is hardly enough to solve most problems. Sometime, you might have to troubleshoot via the hard way &#8211; the command line way. There are several advantages to using th command line instead of [...]<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/fix-network-problems-in-windows-7/2011/02/08&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/fix-network-problems-in-windows-7/2011/02/08" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/fix-network-problems-in-windows-7/2011/02/08" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/fix-network-problems-in-windows-7/2011/02/08" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/fix-network-problems-in-windows-7/2011/02/08&amp;title=How+To+Fix+Network+Problems+Using+Command+Line+Tools+In+Windows+7&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/fix-network-problems-in-windows-7/2011/02/08" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/fix-network-problems-in-windows-7/2011/02/08">How To Fix Network Problems Using Command Line Tools In Windows 7</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img src="http://imagecdn.maketecheasier.com/2011/02/win7ci-post-icon.jpg" alt="win7ci-post-icon" width="177" height="177" class="alignleft size-full wp-image-29565" />Solving a network problem can be hard and frustrating. While you can check your internet connection using the Windows Network Diagnostic tool, it is hardly enough to solve most problems. Sometime, you might have to troubleshoot via the hard way &#8211; the command line way.</p>
<p>There are several advantages to using th command line instead of the visual interface:</p>
<ul>
<li>We can check on individual item, and isolate those that are causing the problems.</li>
<li>Command line tend to have more options so we can test the system deeply.</li>
<li>We can use scripts to automate the process.</li>
</ul>
<p>In this article, we will show you how to diagnose and fix network problems using the command line.<br />
<span id="more-29283"></span><br />
To get started, first make sure that you are running the command prompt with Administrator privilege.</p>
<p><img class="aligncenter size-full wp-image-29307" src="http://imagecdn.maketecheasier.com/2011/02/win7ci-cmd-run-as-administrator.png" alt="win7ci-cmd-run-as-administrator" width="411" height="485" /></p>
<h3>How to know if your cable is connected</h3>
<p>You can use the <em><code>ipconfig</code></em> tool to check if you are experiencing some problem with your cable. Windows will show up a list of the interfaces and if they are connected or not. </p>
<p><img class="aligncenter size-full wp-image-29310" src="http://imagecdn.maketecheasier.com/2011/02/win7ci-cmd-ipconfig.png" alt="win7ci-cmd-ipconfig" width="549" height="347" /></p>
<h3>How to know if your gateway is working</h3>
<p>A gateway is the device, usually a router, that connects your computer to other networks and Internet. If you cannot connect with your device, it is pretty sure you are not going to connect to the Internet. First you need to know the IP address of the device. You can use <em><code>Ipconfig</code></em> to give us the information about the default gateway:</p>
<p><img class="aligncenter size-full wp-image-29313" src="http://imagecdn.maketecheasier.com/2011/02/win7ci-ipconfig-ipv4-gateway.png" alt="win7ci-ipconfig-ipv4-gateway" width="573" height="299" /></p>
<p>Now you can use <em><code>ping</code></em> to test if the gateway respond. This tool informs if a device with a given IP is answering. In plain English, with this test, we know that our network adapter, the cable and the router are connected correctly.</p>
<p><img class="aligncenter size-full wp-image-29314" src="http://imagecdn.maketecheasier.com/2011/02/win7ci-cmd-ping-gateway.png" alt="win7ci-cmd-ping-gateway" width="677" height="354" /></p>
<h3>How to know if your dns is working</h3>
<p>A DNS server is capable of converting a site name, for example <a href="http://maketecheasier.com">www.maketecheasier.com</a>, to its IP address. To connect to a computer in Internet, Windows needs that number. If you cannot connect to your DNS , it is almost impossible that Internet works.</p>
<p><img class="aligncenter size-full wp-image-29334" src="http://imagecdn.maketecheasier.com/2011/02/win7ci-cmd-ipconfig-all-dns-server.png" alt="win7ci-cmd-ipconfig-all-dns-server" width="572" height="393" /></p>
<p>As you can see in this case I have the same router and DNS IP address.</p>
<p>To test the DNS you can use <em><code>nslookup</code></em>. This command make a query to that server. In the following image you can see how the server resolve Make Tech Easier address.</p>
<p><img class="aligncenter size-full wp-image-29347" src="http://imagecdn.maketecheasier.com/2011/02/win7ci-cmd-nslookup.png" alt="win7ci-cmd-nslookup" width="677" height="354" /></p>
<h3>How to know if a process is opening too much connections</h3>
<p>Every time a program needs to connect to Internet or other machine, it opens a new connection. A router can only handle a limited number of connection. If for any reason, a program opens many connections, you can end up with a block Internet.</p>
<p>We can do this with the command <em><code>netstat</code></em> and the parameters &#8220;a&#8221; and &#8220;b&#8221;</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">netstat</span> <span style="color: #660033;">-a</span> <span style="color: #660033;">-b</span></pre></div></div>

<p><img class="aligncenter size-full wp-image-29343" src="http://imagecdn.maketecheasier.com/2011/02/win7ci-cmd-netstat-ab.png" alt="win7ci-cmd-netstat-ab" width="549" height="395" /></p>
<p>You can see what programs are using these connections. In this case, you can see that I have a program named &#8220;Filezilla Server&#8221; listening in port 21.</p>
<h3>How to check firewall rules</h3>
<p>Firewall misconfiguration can lead to Internet malfunctioning. A firewall configuration is no more than a set of rules deciding whether an application can access the Internet or not. By default, these rules appear in abundance and you cannot see all of them in one screen. Instead, we can insert this information on a text file using the following commands:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">netsh advfirewall firewall show rule <span style="color: #007800;">name</span>=all <span style="color: #000000; font-weight: bold;">&gt;</span> firewallrules.txt</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">notepad firewallrules.txt</pre></div></div>

<p><img class="aligncenter size-full wp-image-29344" src="http://imagecdn.maketecheasier.com/2011/02/win7ci-cmd-notepad-firewallrules.png" alt="win7ci-cmd-notepad-firewallrules" width="573" height="620" /></p>
<p>The first command access the firewall configuration and write it to a text file. The second command open the text file in a new notepad window.</p>
<p>A basic use of the <em><code>netsh</code></em> utility can inform us if there is one or more blocking rules to that use the command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">netsh advfirewall firewall show rule name <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">find</span> <span style="color: #ff0000;">&quot;Block&quot;</span></pre></div></div>

<p>Unfortunately it doesn&#8217;t show what is the program blocked by that rule.</p>
<p>What other tricks do you use to test your internet connections?</p>
<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/fix-network-problems-in-windows-7/2011/02/08&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/fix-network-problems-in-windows-7/2011/02/08" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/fix-network-problems-in-windows-7/2011/02/08" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/fix-network-problems-in-windows-7/2011/02/08" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/fix-network-problems-in-windows-7/2011/02/08&amp;title=How+To+Fix+Network+Problems+Using+Command+Line+Tools+In+Windows+7&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/fix-network-problems-in-windows-7/2011/02/08" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/fix-network-problems-in-windows-7/2011/02/08">How To Fix Network Problems Using Command Line Tools In Windows 7</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/fix-network-problems-in-windows-7/2011/02/08/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>gleeBox Lets You Navigate The Web Using Your Keyboard</title>
		<link>http://maketecheasier.com/gleebox-navigate-web-using-keyboard/2011/01/12</link>
		<comments>http://maketecheasier.com/gleebox-navigate-web-using-keyboard/2011/01/12#comments</comments>
		<pubDate>Wed, 12 Jan 2011 21:58:01 +0000</pubDate>
		<dc:creator>Damien</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[Keyboard]]></category>
		<category><![CDATA[shortcut]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=27783</guid>
		<description><![CDATA[There is no doubts about the usefulness of a mouse. It allows you to move around the screen faster and click on links that are located at the far corner of the screen. However, if you are used to the keyboard, there are times when you just hate to move your hand from the keyboard [...]<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/gleebox-navigate-web-using-keyboard/2011/01/12&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/gleebox-navigate-web-using-keyboard/2011/01/12" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/gleebox-navigate-web-using-keyboard/2011/01/12" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/gleebox-navigate-web-using-keyboard/2011/01/12" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/gleebox-navigate-web-using-keyboard/2011/01/12&amp;title=gleeBox+Lets+You+Navigate+The+Web+Using+Your+Keyboard&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/gleebox-navigate-web-using-keyboard/2011/01/12" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/gleebox-navigate-web-using-keyboard/2011/01/12">gleeBox Lets You Navigate The Web Using Your Keyboard</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img src="http://imagecdn.maketecheasier.com/2011/01/gleebox-logo.png" alt="gleebox-logo" title="gleebox-logo" width="338" height="129" class="alignleft size-full wp-image-27926" />There is no doubts about the usefulness of a mouse. It allows you to move around the screen faster and click on links that are located at the far corner of the screen. However, if you are used to the keyboard, there are times when you just hate to move your hand from the keyboard to the mouse. It is both troublesome and tiring. Won&#8217;t it be great if you can navigate the Web just by using your keyboard?<br />
<span id="more-27783"></span><br />
gleeBox is an experimental project that takes a keyboard-centric approach to navigating the web. It provides alternatives to actions that are traditionally performed via the mouse. gleeBox is available as an extension for Google Chrome, Firefox and Safari.</p>
<p>After installing the extension, the first thing to do is to press &#8220;<em>g</em>&#8221; to bring up the gleebox. This will be the main control center. There are several options you can do with the gleebox. You can type any phrase(s) and it will search the current page for links that match your query. You can then scroll through the links to find what you want. If no matching query is found, when you press Enter, it will perform a search with your phrase(s) or bring you to the page if the phrase is an URL.</p>
<p><img src="http://imagecdn.maketecheasier.com/2011/01/gleebox-main.png" alt="gleebox-main" title="gleebox-main" width="600" height="307" class="aligncenter size-full wp-image-27917" /></p>
<p>You can also use the &#8220;?&#8221; prefix to perform a series of actions. For example, typing &#8220;<em>?h</em>&#8221; will highlight the H1, H2 and H3 headings and &#8220;<em>?img</em>&#8221; will highlight linked images. Available options include</p>
<ul>
<li><strong>?h</strong>: Select main (h1, h2 &#038; h3) headings</li>
<li><strong>?img</strong>: Select linked images</li>
<li><strong>??</strong>: Select text input fields. Hit ENTER to give focus to the selected field.</li>
<li><strong>?a</strong>: Select all links</li>
</ul>
<p><img src="http://imagecdn.maketecheasier.com/2011/01/gleebox-select-all-links.png" alt="gleebox-select-all-links" title="gleebox-select-all-links" width="600" height="287" class="aligncenter size-full wp-image-27921" /></p>
<h3>More useful features</h3>
<p>The best part about gleeBox is the ability to use the &#8220;!&#8221; prefix to access to plenty of external services. For example, at any page, you can press &#8220;g&#8221; to bring up the gleeBox and type &#8220;<strong>!read</strong>&#8220;. This will transform the existing page to reading mode.   </p>
<p><img src="http://imagecdn.maketecheasier.com/2011/01/gleebox-readability.png" alt="gleebox-readability" title="gleebox-readability" width="600" height="227" class="aligncenter size-full wp-image-27922" /></p>
<p>A list of useful commands include: </p>
<ul>
<li><strong>!read</strong>: Transform the page for a better reading experience using the Readability project</li>
<li><strong>!shorten</strong>: Shorten the URL of the current page using bit.ly</li>
<li><strong>!tweet</strong>: Redirect to twitter.com with the URL of the current page in the text field</li>
<li><strong>!rss</strong>: Open the current page&#8217;s RSS feed in Google Reader</li>
<li><strong>!snap</strong>: Take a screenshot of the current page in Chrome</li>
<li><strong>!share</strong>: Share the current page. </li>
<li>and many more&#8230;</li>
</ul>
<h3>Running YubNub or a Quix command</h3>
<p>Both <a href="http://YubNub.org">YubNub</a> and <a href="http://quixapp.com">Quix</a> are web tools that allow you to enter a command line and perform an action. These tools are built into gleeBox so you can work with command lines too. The command comes with a &#8220;:&#8221; prefix and a dollar sign ($) represents the current URL. Available commands include &#8220;<em>:fbshare $</em>&#8221; &#8211; Share the current page on Facebook, &#8220;<em>:wp cricket</em>&#8221; &#8211; Search Wikipedia for cricket etc. With Quix, you can even create your own command and use it in gleeBox.</p>
<p><img src="http://imagecdn.maketecheasier.com/2011/01/gleebox-twitter-search.png" alt="gleebox-twitter-search" title="gleebox-twitter-search" width="600" height="168" class="aligncenter size-full wp-image-27924" /></p>
<h3>Wrapping up</h3>
<p>The above mentioned features are not conclusive of what gleeBox is capable of doing. There are more things such as jQuery commands, ESP mode that I did not mention. Will gleeBox replace the mouse completely? No, it won&#8217;t. But its usefulness and versatility can indeed speed things up and make you more productive. Try it out and you will know. Don&#8217;t forget to check out the <a href="http://thegleebox.com/manual.html">user manual</a> too.</p>
<p><a href="http://thegleebox.com">gleeBox</a> | <a href="https://chrome.google.com/extensions/detail/miinkdcjglbkbanpkghnkgkgbamdkgji">gleeBox for Google Chrome</a> | <a href="https://addons.mozilla.org/en-US/firefox/addon/59191">gleeBox for Firefox </a> | <a href="http://thegleebox.com/safari/gleeBox.safariextz">gleeBox for Safari</a></p>
<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/gleebox-navigate-web-using-keyboard/2011/01/12&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/gleebox-navigate-web-using-keyboard/2011/01/12" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/gleebox-navigate-web-using-keyboard/2011/01/12" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/gleebox-navigate-web-using-keyboard/2011/01/12" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/gleebox-navigate-web-using-keyboard/2011/01/12&amp;title=gleeBox+Lets+You+Navigate+The+Web+Using+Your+Keyboard&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/gleebox-navigate-web-using-keyboard/2011/01/12" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/gleebox-navigate-web-using-keyboard/2011/01/12">gleeBox Lets You Navigate The Web Using Your Keyboard</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/gleebox-navigate-web-using-keyboard/2011/01/12/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fetching Files with wget</title>
		<link>http://maketecheasier.com/fetching-files-with-wget/2010/12/23</link>
		<comments>http://maketecheasier.com/fetching-files-with-wget/2010/12/23#comments</comments>
		<pubDate>Thu, 23 Dec 2010 13:00:56 +0000</pubDate>
		<dc:creator>Joshua Price</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=26374</guid>
		<description><![CDATA[Perhaps your X server has crashed. Or you&#8217;re working on a shell script. Or you&#8217;re SSHed into a headless server. For one reason or another, if you need to fetch a file and a web browser&#8217;s not an option, you might want to look into wget. If you&#8217;ve used the Linux shell much and worked [...]<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/fetching-files-with-wget/2010/12/23&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/fetching-files-with-wget/2010/12/23" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/fetching-files-with-wget/2010/12/23" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/fetching-files-with-wget/2010/12/23" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/fetching-files-with-wget/2010/12/23&amp;title=Fetching+Files+with+wget&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/fetching-files-with-wget/2010/12/23" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/fetching-files-with-wget/2010/12/23">Fetching Files with wget</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img src="http://imagecdn.maketecheasier.com/2010/12/wget-small.png" alt="" title="wget-small" width="128" height="128" class="alignleft size-full wp-image-26379" />Perhaps your X server has crashed.  Or you&#8217;re working on a shell script.  Or you&#8217;re SSHed into a headless server.  For one reason or another, if you need to fetch a file and a web browser&#8217;s not an option, you might want to look into wget.  If you&#8217;ve used the Linux shell much and worked with scripts or package installers, there&#8217;s a good chance you&#8217;ve seen wget in action.  At the simplest level, it does just what the name implies and gets a file from the web (or FTP).  Underneath that, though, is some clever functionality.<br />
<span id="more-26374"></span></p>
<h3>The Basics</h3>
<p>As noted above, wget is most commonly used to quickly grab a file from somewhere on the web.  </p>
<p><pre lang="bash">wget http://mydomain.com/file.zip</pre></p>
<p>Which would simply grab the file and save it to the current directory.  </p>
<p>If you want to save to a different filename or different location, you use the -O flag.</p>
<p><pre lang="bash">#Remember it&#8217;s a capital &quot;O&quot; not zero or small &quot;o&quot;<br />
wget http://download.maketecheasier.com/Firefox_shortcut_keys.pdf -O Documents/ffkeys.pdf</pre></p>
<p><img src="http://imagecdn.maketecheasier.com/2010/12/wget-dashO.png" alt="" title="wget-dashO" width="514" height="277" class="aligncenter size-full wp-image-26375" /></p>
<p>You may be downloading multiple files, in which case you may want to specify a location for all downloads.  Just use the<em> -P</em> flag (or  <em>&#8211;directory-prefix=LOCATION</em>) to specify where they go.  </p>
<p>As you can see, that&#8217;s a lot of output.  Let&#8217;s try the <em>-q</em> option to clean it up, making it more suitable for scripts.  </p>
<p><pre lang="bash">wget -q http://mydomain.com/file.zip</pre></p>
<p><img src="http://imagecdn.maketecheasier.com/2010/12/wget-dashq.png" alt="" title="wget-dashq" width="516" height="149" class="aligncenter size-full wp-image-26376" /></p>
<p>Similarly, you can use the <em>-nv</em> option for just a <em>little</em> output, but not as much as the default.  </p>
<h3>Fancy stuff</h3>
<p>What if your download failed, and you want to resume?  What if the file already exists, and you don&#8217;t want to overwrite it?  There are options to handle those as well as several other situations.  </p>
<p>To resume a broken download, you&#8217;d use the <em>-c</em> flag (or <em>&#8211;continue</em>)</p>
<p>If you need to make sure your command (or script) doesn&#8217;t overwrite any existing files, use the <em>-nc</em> option (for no-clobber)</p>
<p><img src="http://imagecdn.maketecheasier.com/2010/12/wget-dashnc.png" alt="" title="wget-dashnc" width="518" height="74" class="aligncenter size-full wp-image-26377" /></p>
<p>There are times when you can&#8217;t be certain if filenames will be case-sensitive on both ends, but the <em>&#8211;ignore-case</em> flag will negate that problem.  </p>
<p>To limit the download rate, use the &#8211;limit-rate=RATE option, as demonstrated below.  </p>
<p><pre lang="bash">wget &#8211;limit-rate=20000 http://ftp.us.debian.org/debian-cd/5.0.7/amd64/iso-cd/debian-507-amd64-netinst.iso</pre></p>
<p><img src="http://imagecdn.maketecheasier.com/2010/12/wget-limit.png" alt="" title="wget-limit" width="514" height="227" class="aligncenter size-full wp-image-26378" /></p>
<h3>FTP Options</h3>
<p>As noted earlier, wget supports FTP as well.  If you just specify a FTP site, like </p>
<p><pre lang="bash">wget ftp://ftp.us.debian.org/debian-cd/5.0.7/amd64/iso-cd/debian-507-amd64-netinst.iso</pre></p>
<p>wget will assume you want an anonymous login.  If that&#8217;s not the case, you can manually specify things like username and password with the following flags:</p>
<ul>
<li>&#8211;ftp-user=USER         Specifies the username for login</li>
<li>&#8211;ftp-password=PASS     Specifies password</li>
<li>&#8211;no-passive-ftp        Disables passive transfer mode.</li>
</ul>
<p>As well as a few others for advanced use cases.  </p>
<h3>Timeouts, Retries, and Failed Downloads</h3>
<p>Finally, wget comes with several options relating to server connection problems and timeouts.  Not all failures can be dealt with of course, but the following flags are all intended to help deal with server issues:</p>
<ul>
<li>&#8211;tries=NUMBER            Specify number of times to retry download</li>
<li>&#8211;retry-connrefused       Retry download even if connection is refused by server.</li>
<li>&#8211;continue                      Resumes an incomplete download, used as <em>-c</em> above</li>
<li>&#8211;timeout=SECONDS     Global setting &#8211; how long to wait before timeouts</li>
<li>&#8211;wait=SECONDS          How long to wait between successful downloads (if repeating)</li>
</ul>
<h3>Conclusion</h3>
<p>For such a simple, basic, built-in utility, wget has a surprising amount to offer.  Next time you find yourself writing an internet-aware shell script, or needing to get that missing driver file on your broken computer, give wget a shot.  If you&#8217;ve got any interesting stories about how wget has got you out of a jam, let us know in the comments below.  </p>
<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/fetching-files-with-wget/2010/12/23&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/fetching-files-with-wget/2010/12/23" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/fetching-files-with-wget/2010/12/23" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/fetching-files-with-wget/2010/12/23" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/fetching-files-with-wget/2010/12/23&amp;title=Fetching+Files+with+wget&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/fetching-files-with-wget/2010/12/23" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/fetching-files-with-wget/2010/12/23">Fetching Files with wget</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/fetching-files-with-wget/2010/12/23/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>10 Useful Tools, Websites And Tricks to Help You Master Linux Command</title>
		<link>http://maketecheasier.com/10-useful-tools-websites-tricks-to-master-linux-command/2010/11/09</link>
		<comments>http://maketecheasier.com/10-useful-tools-websites-tricks-to-master-linux-command/2010/11/09#comments</comments>
		<pubDate>Tue, 09 Nov 2010 22:00:11 +0000</pubDate>
		<dc:creator>Damien</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=23608</guid>
		<description><![CDATA[When it comes to Linux command, it is always a love and hate affair. Newbies tend to shun away from the command line as much as possible while the intermediate to expert users who are used to it will swear by it, and boost how much faster and more productive they have become due to [...]<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/10-useful-tools-websites-tricks-to-master-linux-command/2010/11/09&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/10-useful-tools-websites-tricks-to-master-linux-command/2010/11/09" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/10-useful-tools-websites-tricks-to-master-linux-command/2010/11/09" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/10-useful-tools-websites-tricks-to-master-linux-command/2010/11/09" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/10-useful-tools-websites-tricks-to-master-linux-command/2010/11/09&amp;title=10+Useful+Tools%2C+Websites+And+Tricks+to+Help+You+Master+Linux+Command&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/10-useful-tools-websites-tricks-to-master-linux-command/2010/11/09" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/10-useful-tools-websites-tricks-to-master-linux-command/2010/11/09">10 Useful Tools, Websites And Tricks to Help You Master Linux Command</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img src="http://imagecdn.maketecheasier.com/2010/11/lcommand-main.jpg" alt="lcommand-main" title="lcommand-main" width="200" height="167" class="alignleft size-full wp-image-24178" />When it comes to Linux command, it is always a love and hate affair. Newbies tend to shun away from the command line as much as possible while the intermediate to expert users who are used to it will swear by it, and boost how much faster and more productive they have become due to the command line. </p>
<p>Regardless which camp you belong, as long as you are using Linux (doesn&#8217;t matter which distro), you are sure to hit the terminal and type some commands into it at some point of time. Why not embrace it and take the opportunity to learn something new?</p>
<p>Here are some websites, tools and tricks that you can make use of to learn Linux command line. This is in no way a comprehensive list, but will be a good start for those who wish to get started.<br />
<span id="more-23608"></span><br />
<strong>Note</strong>: <em>The &#8220;command line&#8221; stated here can refer to the bash commands you type in the terminal, or writing your own bash scripts.</em><br />
<!--more--> </p>
<h3>Website</h3>
<h4>1. Linux Command.org</h4>
<p>LinuxCommand.org is a site on&#8230; you guess it, Linux command. If you know absolutely nothing about the command line, this is a good starting ground. LinuxCommand is more like a school, where it teaches you from the basic, such as &#8220;<em>what is a shell?</em>&#8221; to simple command usage and lastly, advanced techniques like &#8220;<em>how to write your own shell scripts</em>&#8220;.</p>
<p><a href="http://linuxcommand.org" target="_blank" >http://linuxcommand.org</a></p>
<h4>2. CommandLineFu</h4>
<p>There are often cases when you want to get things done on the terminal, but can&#8217;t remember the exact code. When such cases occur, a good place to check out is CommandLineFu. Just think of a social network for command line and you get CommandLineFu. CommandlineFu is the place where people share the commonly used bash code so you just have to copy/paste the code to the terminal instead of writing your own. It is also a great way to discover the infinite possibilities that you can do on the terminal.</p>
<p><a href="http://www.commandlinefu.com/" target="_blank" >CommandlineFu</a></p>
<h4>3. ShellFu</h4>
<p>Similar to CommandlineFu, ShellFu is also a place where you can find plenty of codes, examples and uses of the command line. What makes it different is that ShellFu is more like a blog (rather than a social network), is moderated and there is no vote up/down feature. </p>
<p><a href="http://www.shell-fu.org/lister.php" target="_blank" >ShellFu</a></p>
<h4>4. O&#8217;Reilly Linux Command and SS64</h4>
<p>O&#8217;Reilly Linux Command and SS64 bash are both a good place to go if you need just a quick reference of a particular command. All the commands are sorted in alphabetical order, so you can easily find the commands you want.</p>
<p><a href="http://www.oreillynet.com/linux/cmd/" target="_blank" >O&#8217;Reilly Linux Command</a><br />
<a href="http://ss64.com/bash/" target="_blank" >SS64</a></p>
<h3>Tools</h3>
<h4>5. CLI Companion</h4>
<p>CLI Companion is a replacement for your default terminal. It is divided into two panes. The upper pane is a library of the commonly used bash command and the lower pane is the actual terminal. You can scroll through the library to find the command you want, right click on it and select &#8220;Apply&#8221;. The command will get executed in the terminal below.</p>
<p><img src="http://imagecdn.maketecheasier.com/2010/11/lcommand-clicompanion.png" alt="lcommand-clicompanion" title="lcommand-clicompanion" width="577" height="447" class="aligncenter size-full wp-image-24173" /></p>
<p>In Ubuntu, you can install via the command:<br />
<pre lang="bash">sudo add-apt-repository ppa:clicompanion-devs/clicompanion-nightlies<br />
sudo apt-get update<br />
sudo apt-get install clicompanion</pre></p>
<h4>6. Ebook &#8211; Bash Guide For Beginners</h3>
<p>For beginners who like to learn bash command on the move, a good way is to download the free ebook &#8211; <strong>Bash Guide For Beginners</strong> and read it on your mobile devices. The ebook contains (almost) every single things you need to know about bash command. Even if you are experience with bash command, it never hurts to have a ebook by your side where you can refer from time to time.</p>
<p><a href="http://maketecheasier.tradepub.com/free/w_mach02" target="_blank" >Bash Guide For Beginners</a></p>
<h3>Tricks</h3>
<p>Here are some tricks that you can use to increase your productivity.</p>
<h4>7. Bash Autocompletion</h4>
<p>One easy way to get around bash is to use the autocompletion feature. When you are halfway through typing a command, you just have to press the &#8220;Tab&#8221; button on your keyboard and it will autocomplete your command for you. If it can&#8217;t understand your command, it will show a list of options for you to choose.  </p>
<p><img src="http://imagecdn.maketecheasier.com/2010/11/lcommand-autocomplete.png" alt="lcommand-autocomplete" title="lcommand-autocomplete" width="448" height="183" class="aligncenter size-full wp-image-24174" /></p>
<h4>8. Creating alias</h4>
<p>If you frequently use the same command over and over again, it is a good idea to add an alias for that command. An alias is just a short for a (long) command. You can use aliases for a variety of reasons, such as shortening a long command or making the Linux shell act more like a Windows/Mac/Solaris/BSD/Whatever shell. </p>
<p><img src="http://imagecdn.maketecheasier.com/2010/11/lcommand-alias.png" alt="lcommand-alias" title="lcommand-alias" width="578" height="156" class="aligncenter size-full wp-image-24176" /></p>
<p><a href="http://maketecheasier.com/making-the-linux-command-line-a-little-friendlier/2009/03/19#alias">Creating bash alias</a></p>
<h4>9. Mastering the bash history</h4>
<p>The bash history contains the list of the commands that you have used before. To access your bash history, the simplest way is to use the Up/Down arrow key in the terminal. More bash history tricks can be found at the link below.</p>
<p><a href="http://maketecheasier.com/mastering-the-bash-history/2009/05/20" target="_blank" >Mastering bash history</a></p>
<h4>10. Using of bash prompt</h4>
<p>Bash prompt is the result that appears when you enter a bash command. Most people are using the default system setting (gray color), not knowing that they can change the prompt settings and get it to display additional information and colors. </p>
<p><a href="http://maketecheasier.com/8-useful-and-interesting-bash-prompts/2009/09/04" target="_blank">bash prompt</a></p>
<p>As I said above, this is by no means the most comprehensive list around and I am sure there are plenty of other useful websites, tools and tricks that I have left out. Do tell us about it in the comments.</p>
<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/10-useful-tools-websites-tricks-to-master-linux-command/2010/11/09&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/10-useful-tools-websites-tricks-to-master-linux-command/2010/11/09" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/10-useful-tools-websites-tricks-to-master-linux-command/2010/11/09" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/10-useful-tools-websites-tricks-to-master-linux-command/2010/11/09" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/10-useful-tools-websites-tricks-to-master-linux-command/2010/11/09&amp;title=10+Useful+Tools%2C+Websites+And+Tricks+to+Help+You+Master+Linux+Command&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/10-useful-tools-websites-tricks-to-master-linux-command/2010/11/09" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/10-useful-tools-websites-tricks-to-master-linux-command/2010/11/09">10 Useful Tools, Websites And Tricks to Help You Master Linux Command</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/10-useful-tools-websites-tricks-to-master-linux-command/2010/11/09/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Manage Google Calendar From Command Line And Display It On Your Desktop</title>
		<link>http://maketecheasier.com/manage-google-calendar-from-command-line/2010/08/05</link>
		<comments>http://maketecheasier.com/manage-google-calendar-from-command-line/2010/08/05#comments</comments>
		<pubDate>Thu, 05 Aug 2010 12:00:06 +0000</pubDate>
		<dc:creator>Damien</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[agenda]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[conky]]></category>
		<category><![CDATA[gcalcli]]></category>
		<category><![CDATA[Google Calendar]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=18906</guid>
		<description><![CDATA[I don&#8217;t think I need to do any introduction on Google Calendar. It is one of the most popular web based calendar and if you have a Google account (or a Gmail account), you already have a Google Calendar account. To add events/appointment to your Google Calendar, the most primitive way is to open your [...]<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/manage-google-calendar-from-command-line/2010/08/05&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/manage-google-calendar-from-command-line/2010/08/05" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/manage-google-calendar-from-command-line/2010/08/05" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/manage-google-calendar-from-command-line/2010/08/05" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/manage-google-calendar-from-command-line/2010/08/05&amp;title=How+to+Manage+Google+Calendar+From+Command+Line+And+Display+It+On+Your+Desktop&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/manage-google-calendar-from-command-line/2010/08/05" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/manage-google-calendar-from-command-line/2010/08/05">How to Manage Google Calendar From Command Line And Display It On Your Desktop</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img src="http://imagecdn.maketecheasier.com/2010/07/gcalcli-calw-small.png" alt="gcalcli-calw-small" title="gcalcli-calw-small" width="200" height="161" class="alignleft size-full wp-image-18921" />I don&#8217;t think I need to do any introduction on <a href="http://google.com/calendar" target="_blank">Google Calendar</a>. It is one of the most popular web based calendar and if you have a Google account (or a Gmail account), you already have a Google Calendar account. </p>
<p>To add events/appointment to your Google Calendar, the most primitive way is to open your web browser, login to the Google Calendar site and add an event. What about the geekiest (and fastest) way? By the command line, of course.</p>
<p><a href="http://code.google.com/p/gcalcli/" target="_blank">Gcalcli</a> is a Python application that allows you to access and manage your Google Calendar from a command line. You can use it to retrieve your agenda, event list, and quickly add new events. What&#8217;s more, it can also be used as a reminder service to help you remember the things that you need to do.<br />
<span id="more-18906"></span></p>
<h2>Installation</h2>
<p>Gcalcli is included in the Ubuntu repository, which means you can easily install via the Ubuntu Software Center, Synaptic Package Manager, or simply with the command line:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> gcalcli</pre></div></div>

<h2>Configuration</h2>
<p>Before we start, we need to create the configuration file. Open a text editor. Paste the following lines:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>gcalcli<span style="color: #7a0874; font-weight: bold;">&#93;</span>
user: yourusername
pw: yourpassword</pre></div></div>

<p>Replace &#8220;<em>yourusername</em>&#8221; with your Google account login name, without the <em>gmail.com</em>.</p>
<p>Replace &#8220;<em>yourpassword</em>&#8221; with your Google login password.</p>
<p>Save the file in your home folder with the filename <em>.gcalclirc</em> (don&#8217;t forget the “.” in front of the galclirc and no file extension is required)</p>
<h2>Usage</h2>
<p>To test it, open a terminal and type</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gcalcli agenda</pre></div></div>

<p><img src="http://imagecdn.maketecheasier.com/2010/07/gcalcli-agenda.png" alt="gcalcli-agenda" title="gcalcli-agenda" width="397" height="155" class="aligncenter size-full wp-image-18914" /></p>
<p>It should show your agenda for the next 5 days.</p>
<p>To get a quick glance of your next 2 weeks agenda</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gcalcli calw <span style="color: #000000;">2</span></pre></div></div>

<p><img src="http://imagecdn.maketecheasier.com/2010/07/gcalcli-calw.png" alt="gcalcli-calw" title="gcalcli-calw" width="577" height="349" class="aligncenter size-full wp-image-18915" /></p>
<p>Whole month agenda</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gcalcli calm</pre></div></div>

<p><img src="http://imagecdn.maketecheasier.com/2010/07/gcalcli-calm.png" alt="gcalcli-calm" title="gcalcli-calm" width="577" height="396" class="aligncenter size-full wp-image-18916" /></p>
<p>You can also set gcalcli to show a reminder popup if the event is within 10 minutes from the current time.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gcalcli remind <span style="color: #000000;">10</span></pre></div></div>

<p><img src="http://imagecdn.maketecheasier.com/2010/07/gcalcli-remind.png" alt="gcalcli-remind" title="gcalcli-remind" width="535" height="313" class="aligncenter size-full wp-image-18917" /></p>
<p>One thing though, there is no automation for the reminder service, so you need to run the command everytime to remind you of your event. A good way to automate it is via crontab or using <a href="http://maketecheasier.com/easy-way-to-schedule-and-automate-tasks-in-ubuntu/2008/06/16">gnome-schedule</a></p>
<p>To add an event to Google calendar, use the command</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gcalcli quick <span style="color: #000000; font-weight: bold;">&lt;</span>event<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p>Replace the &lt;event&gt; with a brief description of the time, date and event detail. For example:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gcalcli quick <span style="color: #ff0000;">'5pm 31/7/2010 Meeting with Advertisers'</span>
<span style="color: #666666; font-style: italic;"># or</span>
gcalcli quick <span style="color: #ff0000;">'Dinner with Eric 7pm tomorrow'</span></pre></div></div>

<h2>Display Google Calendar on your desktop</h2>
<p>To get Google Calendar onto your desktop, we are going to use a combination of gcalcli and conky.</p>
<p>Install conky:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> conky</pre></div></div>

<p>Open a text editor and paste the following text:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">alignment top_right
background no
border_width <span style="color: #000000;">0</span>
cpu_avg_samples <span style="color: #000000;">2</span>
default_color white
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders <span style="color: #c20cb9; font-weight: bold;">yes</span>
draw_outline no
draw_shades no
use_xft <span style="color: #c20cb9; font-weight: bold;">yes</span>
xftfont DejaVu Sans Mono:<span style="color: #007800;">size</span>=<span style="color: #000000;">12</span>
gap_x <span style="color: #000000;">5</span>
gap_y <span style="color: #000000;">60</span>
minimum_size <span style="color: #000000;">5</span> <span style="color: #000000;">5</span>
net_avg_samples <span style="color: #000000;">2</span>
double_buffer <span style="color: #c20cb9; font-weight: bold;">yes</span>
out_to_console no
out_to_stderr no
extra_newline no
own_window <span style="color: #c20cb9; font-weight: bold;">yes</span>
own_window_class Conky
own_window_type override
own_window_transparent <span style="color: #c20cb9; font-weight: bold;">yes</span>
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
stippled_borders <span style="color: #000000;">0</span>
update_interval <span style="color: #000000;">1.0</span>
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no
text_buffer_size <span style="color: #000000;">8096</span>
&nbsp;
TEXT
<span style="color: #800000;">${execi 300 gcalcli --nc --cals=owner calw 4}</span></pre></div></div>

<p>Save the file in your Home directory with the filename .conkyrc</p>
<p>Press Alt + F2. Type in “<em>conky</em>” and press Enter.</p>
<p><img src="http://imagecdn.maketecheasier.com/2010/07/gcalcli-run-application.png" alt="gcalcli-run-application" title="gcalcli-run-application" width="414" height="147" class="aligncenter size-full wp-image-18920" /></p>
<p>Your agenda for the next 4 weeks will now appear on your desktop and it will refresh every 5 minutes. </p>
<p><img src="http://imagecdn.maketecheasier.com/2010/07/gcalcli-on-desktop.jpg" alt="gcalcli-on-desktop" title="gcalcli-on-desktop" width="577" height="361" class="aligncenter size-full wp-image-18918" /></p>
<p>Need more help on gcalcli? Check out their <a href="http://code.google.com/p/gcalcli/wiki/HowTo" target="_blank">HowTo wiki</a>. </p>
<p>Try it out and let us know if it works for you.</p>
<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/manage-google-calendar-from-command-line/2010/08/05&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/manage-google-calendar-from-command-line/2010/08/05" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/manage-google-calendar-from-command-line/2010/08/05" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/manage-google-calendar-from-command-line/2010/08/05" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/manage-google-calendar-from-command-line/2010/08/05&amp;title=How+to+Manage+Google+Calendar+From+Command+Line+And+Display+It+On+Your+Desktop&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/manage-google-calendar-from-command-line/2010/08/05" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/manage-google-calendar-from-command-line/2010/08/05">How to Manage Google Calendar From Command Line And Display It On Your Desktop</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/manage-google-calendar-from-command-line/2010/08/05/feed</wfw:commentRss>
		<slash:comments>48</slash:comments>
		</item>
		<item>
		<title>Making The Linux Command Line A Little Friendlier</title>
		<link>http://maketecheasier.com/making-the-linux-command-line-a-little-friendlier/2009/03/19</link>
		<comments>http://maketecheasier.com/making-the-linux-command-line-a-little-friendlier/2009/03/19#comments</comments>
		<pubDate>Thu, 19 Mar 2009 13:03:50 +0000</pubDate>
		<dc:creator>Joshua Price</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[alias]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[prompt]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://maketecheasier.com/?p=3366</guid>
		<description><![CDATA[One thing that gets debated over and over in Linux is the need for the command line. Many say that you should never need to access a command prompt to get things done, others are of the opinion that the power of the Linux shell is one of the things that makes Linux so great. [...]<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/making-the-linux-command-line-a-little-friendlier/2009/03/19&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/making-the-linux-command-line-a-little-friendlier/2009/03/19" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/making-the-linux-command-line-a-little-friendlier/2009/03/19" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/making-the-linux-command-line-a-little-friendlier/2009/03/19" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/making-the-linux-command-line-a-little-friendlier/2009/03/19&amp;title=Making+The+Linux+Command+Line+A+Little+Friendlier&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/making-the-linux-command-line-a-little-friendlier/2009/03/19" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/making-the-linux-command-line-a-little-friendlier/2009/03/19">Making The Linux Command Line A Little Friendlier</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-3367 alignleft" src="http://imagecdn.maketecheasier.com/2009/03/konsole.png" alt="Console icon" width="128" height="128" />One thing that gets debated over and over in Linux is the need for the command line. Many say that you should never need to access a command prompt to get things done, others are of the opinion that the power of the Linux shell is one of the things that makes Linux so great. While I would fall into the latter category, I can certainly understand why people can get frustrated with having to learn complex and seemingly obscure commands to get their computer to work right. Even if you hate the command line, you often have no choice but to open it once in a while to get the job done. Today, we&#8217;ll be covering various ways to make it a little easier to navigate.</p>
<p><span id="more-3366"></span>For those just starting out with Linux, or the command line specifically, the program that displays the command prompt and handles your commands is called <em>bash</em>, or the Bourne Again Shell. In this article we&#8217;ll be using the words <em>command line</em> and <em>shell</em> interchangeably to refer to interacting with Linux through bash.</p>
<p>Today we&#8217;ll be covering:</p>
<ul>
<li>Changing the shell startup routine</li>
<li>Making a more useful command prompt</li>
<li>Creating aliases for long or complex commands</li>
</ul>
<h3>.bashrc and .bash_profile</h3>
<p>These two files are often the source of some confusion. At first appearance, they seem to do the exact same thing &#8211; running startup instructions every time you open a command prompt. In short, <em>.bash_profile</em> runs when you start a shell from a login screen (such as a console system login) and <em>.bashrc</em> runs for non-login shells (such as running Terminal from your system menu).  The <em>.bashrc</em> file is the one you&#8217;ll be using the majority of the time so that&#8217;s the one we&#8217;ll use in our examples today.</p>
<p>As I said, .bashrc is loaded by bash whenever you open a new shell. Chances are you already have a .bashrc file that was created for you when you first installed your Linux system. To see what&#8217;s already in there, load up your preferred text editor and open</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>YourUserName<span style="color: #000000; font-weight: bold;">/</span>.bashrc</pre></div></div>

<p>(By default, the file is hidden from public view. You&#8217;ll have to right-click and select Show Hidden Files before it can show itself.)</p>
<p>You&#8217;ll probably see several lines of code, bash shell scripting to be precise, already in there. The default .bashrc in most distros has some code to do things like color prompts (which we&#8217;ll get into a little bit) and some handy aliases (which we&#8217;ll get into a lot).</p>
<p><img class="aligncenter size-full wp-image-3381" src="http://imagecdn.maketecheasier.com/2009/03/default-bashrc.png" alt="The default .bashrc file for Ubuntu 8.10" width="560" height="508" /></p>
<p>Feel free to glance through the current contents of the file so you have an idea what&#8217;s already happening on each new shell session, but for the sake of this article we can safely ignore the current settings and just add what we want to the end.</p>
<p>Instead of putting our new items directly into the .bashrc file, we&#8217;re going to take a slightly different approach.  Each user on the system has their own .bashrc file in their home directory. If we wanted to make changes to the way bash runs, we&#8217;d have to place our changes in each of those files. If you later decide that what you did wasn&#8217;t quite what you wanted, you&#8217;d have to go through all of those files again and make your updates. Instead of all that hassle, we&#8217;re going to make a single file with all our custom settings, and just tell .bashrc to load from that file.  The diagram below demonstrates:</p>
<p><img class="aligncenter size-full wp-image-3510" src="http://imagecdn.maketecheasier.com/2009/03/source-diagram1.jpg" alt="Diagram representing file sourcing" width="550" height="395" /></p>
<p>By placing the <em>source</em> command at the end of the .bashrc file, it will pull our commands in from the custom-shell.sh file and overwrite the default prompt and default aliases with the ones we&#8217;ve specified. This way, we can make a single file (/etc/custom-shell.sh or whatever else you&#8217;d like to name it) and just tell each user&#8217;s .bashrc file to load it. So if you&#8217;ve still got your .bashrc file loaded in your text editor, move all the way down to the bottom and add</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">source</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>custom-shell.sh</pre></div></div>

<p>Note &#8211; you can take this a step further and add the <em>source</em> line to the .bashrc file in <em>/etc/skel</em>. That way, all new users created on the system will already have our <em>source</em> line included!</p>
<p>Save the .bashrc file and then create a new, blank text file named custom-shell.sh.  This is where we&#8217;ll be putting all of the new settings in the following sections.</p>
<h3>The Prompt</h3>
<p>Every system has a default prompt. Usually, it&#8217;s a bland, default prompt with only a little bit of useful information.  It probably looks something like:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">josh<span style="color: #000000; font-weight: bold;">@</span>roberts:~$</pre></div></div>

<p>To test out exactly how prompt customisation is done, enter the following into the shell:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;Custom &gt; &quot;</span></pre></div></div>

<p>This will turn your prompt into a simple arrow.  No useful info of any kind, but it shows the basic idea of how you change the contents of your prompt.</p>
<p>Over the years, people have taken prompt customisation to the extreme, putting all kinds of info into it. I won&#8217;t go into a huge amount of detail on how to handle colors and multi-line prompts and adding live info, but I will give a nice looking, useful prompt that you could use as a base for your own. In the custom-shell.sh file we created earlier, paste in:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>\[\033[1;36m\]\u\[\033[1;37m\] \[\033[0;36m\]<span style="color: #780078;">`date`</span><span style="color: #000099; font-weight: bold;">\n</span>\[\033[0m\][\[\033[1;33m\]\w\[\033[0m\]] &quot;</span></pre></div></div>

<p>Most of what you see there are color codes telling bash to switch back and forth between various colors for the text in the prompt. The end result of all this gibberish is a rather nice looking and easy to understand prompt.</p>
<p><img class="aligncenter size-full wp-image-3467" src="http://imagecdn.maketecheasier.com/2009/03/newprompt.png" alt="New prompt after changes" width="484" height="316" /></p>
<p>Save the custom-shell.sh file after pasting in the code above. If you save it in /etc, you&#8217;ll probably need root privileges. You can save it anywhere you want, but make sure you point your .bashrc to the right place. To test out your new prompt, you can either close and re-open your shell, or just type</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">source</span> .bashrc</pre></div></div>

<p>into your current shell.</p>
<p>Your .bashrc file should read our new prompt info from the custom-shell.sh file and make your prompt nice and fancy with colors and all.</p>
<p>For an EXTREMELY detailed guide on prompt magic, see the <a title="Linux Prompt HOWTO" href="http://www.linux.org/docs/ldp/howto/Bash-Prompt-HOWTO/index.html" target="_blank">Official Linux Prompt HOWTO</a>.<br />
<a name="alias"></a><br />
<h3>Aliases</h3>
<p>I might as well tell you up front &#8211; I love aliases. The first thing I do when I install a new system is set up my preferred aliases. As the name implies, an alias is just another name for a command. For example, my most used alias is one I call &#8220;gimme&#8221; which bash translates to &#8220;sudo apt-get install&#8221;. You can use aliases for a variety of reasons, such as shortening a long command or making the Linux shell act more like a Windows/Mac/Solaris/BSD/Whatever shell. I suggest pasting the following aliases into your custom-shell.sh file. Those who use distros other than Debian/Ubuntu style can translate the apt-get aliases into the appropriate <em>yum</em> command, or whatever package utility you prefer, and of course the same is true for aptitude and portage users.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#Apt-related aliases</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">gimme</span>=<span style="color: #ff0000;">&quot;sudo apt-get install&quot;</span>            <span style="color: #666666; font-style: italic;">#Install new software</span>
<span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">acs</span>=<span style="color: #ff0000;">&quot;apt-cache search&quot;</span>                    <span style="color: #666666; font-style: italic;">#Search available packages</span>
<span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">purge</span>=<span style="color: #ff0000;">&quot;apt-get --purge remove&quot;</span>        <span style="color: #666666; font-style: italic;">#Removes package and its config files</span>
<span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">update</span>=<span style="color: #ff0000;">&quot;sudo apt-get update&quot;</span>
<span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">debclean</span>=<span style="color: #ff0000;">&quot;sudo apt-get clean &amp;amp;&amp;amp; sudo apt-get autoremove&quot;</span>  <span style="color: #666666; font-style: italic;">#Removes some unneeded files</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;">#Misc useful aliases</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">ls</span>=<span style="color: #ff0000;">&quot;ls --color=auto&quot;</span>                           <span style="color: #666666; font-style: italic;">#Plain ls with color</span>
<span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">ll</span>=<span style="color: #ff0000;">&quot;ls -l --color=auto&quot;</span>                         <span style="color: #666666; font-style: italic;">#Detailed list with color</span>
<span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">config</span>=<span style="color: #ff0000;">&quot;dpkg-reconfigure&quot;</span>                <span style="color: #666666; font-style: italic;">#Re-run the configuration step for a package</span>
<span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">cmi</span>=<span style="color: #ff0000;">&quot;./configure &amp;amp;&amp;amp; make &amp;amp;&amp;amp; sudo make install&quot;</span>    <span style="color: #666666; font-style: italic;">#Common steps to install package from source</span>
<span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">numfiles</span>=<span style="color: #ff0000;">&quot;echo <span style="color: #007800;">$(ls -1 | wc -l)</span>&quot;</span>          <span style="color: #666666; font-style: italic;">#Count the number of files in current directory</span>
<span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">dfree</span>=<span style="color: #ff0000;">&quot;df -h&quot;</span>                                       <span style="color: #666666; font-style: italic;">#See how much hard drive space is free in easy-to-read format</span>
<span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">favdir</span>=<span style="color: #ff0000;">&quot;cd /directory/you/use/a/lot&quot;</span>   <span style="color: #666666; font-style: italic;">#Quickly switch to a directory you often need (music, documents, etc)</span></pre></td></tr></table></div>

<p>Add whatever else you think might be useful, or change the ones I&#8217;ve suggested to suit your needs. Instead of <em>gimme</em> and <em>acs</em>, you could use <em>get</em> and <em>got</em>. Some people transitioning from Windows like to make aliases to mimic Windows commands: <em>copy</em> to replace <em>cp</em>, <em>move</em> to replace <em>mv</em>, <em>ipconfig</em> to replace <em>ifconfig</em>, etc.</p>
<p>Your custom-shell.sh should now look something like this:</p>
<p><img class="aligncenter size-full wp-image-3516" src="http://imagecdn.maketecheasier.com/2009/03/custom-shell.png" alt="Example of finished file" width="448" height="528" /></p>
<p>Once the custom-shell.sh file is saved, and .bashrc is set to point to it, re-open your command prompt and you should have a nice looking, useful prompt with several handy aliases to make things a little easier.</p>
<p>I would love to hear about you favorite aliases! Leave a comment and share some useful command shortcuts you&#8217;ve found, or maybe a nice prompt.  The command line can be a very powerful tool, and I&#8217;d love to know ways you&#8217;ve found to make it even better.</p>
<p><!--adsense#468x60--></p>
<p><div style="float:left;margin-bottom:10px"><a href="http://api.tweetmeme.com/share?url=http://maketecheasier.com/making-the-linux-command-line-a-little-friendlier/2009/03/19&amp;service=bit.ly" target="_blank"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http://maketecheasier.com/making-the-linux-command-line-a-little-friendlier/2009/03/19" style="border:none;margin-right:5px" width="51" height="61"></a><a href="http://digg.com/tools/diggthis/login?url=http://maketecheasier.com/making-the-linux-command-line-a-little-friendlier/2009/03/19" target="_blank"><img src="http://images.maketecheasier.com/diggme.png" style="border:none;margin-right:5px" ></a><a href="http://www.facebook.com/sharer.php?u=http://maketecheasier.com/making-the-linux-command-line-a-little-friendlier/2009/03/19" target="_blank"><img src="http://images.maketecheasier.com/fb.jpg" style="border:none;margin-right:5px" ></a><a href="http://www.google.com/reader/link?url=http://maketecheasier.com/making-the-linux-command-line-a-little-friendlier/2009/03/19&amp;title=Making+The+Linux+Command+Line+A+Little+Friendlier&amp;srcTitle=MakeTechEasier.com" target="_blank"><img src="http://images.maketecheasier.com/gbuzz-feed.png" style="border:none;margin-right:5px" ></a><a href="http://www.stumbleupon.com/submit?url=http://maketecheasier.com/making-the-linux-command-line-a-little-friendlier/2009/03/19" target="_blank"><img src="http://images.maketecheasier.com/stumble.png"></a></div>
<div style="clear:both"></div>
<strong><a href="http://maketecheasier.com/making-the-linux-command-line-a-little-friendlier/2009/03/19">Making The Linux Command Line A Little Friendlier</a></strong> originally published on <a href="http://maketecheasier.com">Make Tech Easier</a> (<a href="http://feedproxy.google.com/MakeTechEasier">RSS</a>)
<br/>
Follow us at <a href="http://www.facebook.com/MakeTechEasier">Facebook</a> | <a href="http://twitter.com/MakeTechEasier">Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://maketecheasier.com/making-the-linux-command-line-a-little-friendlier/2009/03/19/feed</wfw:commentRss>
		<slash:comments>29</slash:comments>
		</item>
	</channel>
</rss>

