<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Command Line Magic: Scripting, Part One</title>
	<atom:link href="http://www.linux-mag.com/id/8747/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linux-mag.com/id/8747/</link>
	<description>Open Source, Open Standards</description>
	<lastBuildDate>Sat, 05 Oct 2013 13:48:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: Sales training tips</title>
		<link>http://www.linux-mag.com/id/8747/#comment-758969</link>
		<dc:creator>Sales training tips</dc:creator>
		<pubDate>Tue, 05 Feb 2013 06:36:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/?p=8747#comment-758969</guid>
		<description>I love it when folks get together and share opinions.
Great site, stick with it!</description>
		<content:encoded><![CDATA[<p>I love it when folks get together and share opinions.<br />
Great site, stick with it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eavedrop44</title>
		<link>http://www.linux-mag.com/id/8747/#comment-642993</link>
		<dc:creator>eavedrop44</dc:creator>
		<pubDate>Wed, 12 Dec 2012 07:39:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/?p=8747#comment-642993</guid>
		<description>I don’t recommend this as a way to avoid buying music, but it’s a good tool to have handy for tracks that you can’t find for purchase. For instance, live performances on YouTube that aren’t on album somewhere.&lt;a href=&quot;http://www.bronxweddingphotography.com&quot; rel=&quot;nofollow&quot;&gt;wedding photo&lt;/a&gt;
&lt;a href=&quot;http://www.capecodweddingplannerblog.com&quot; rel=&quot;nofollow&quot;&gt;wedding blog&lt;/a&gt;
&lt;a href=&quot;http://www.chicagoweddingsphotographer.com&quot; rel=&quot;nofollow&quot;&gt;wedding site&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I don’t recommend this as a way to avoid buying music, but it’s a good tool to have handy for tracks that you can’t find for purchase. For instance, live performances on YouTube that aren’t on album somewhere.<a href="http://www.bronxweddingphotography.com" rel="nofollow">wedding photo</a><br />
<a href="http://www.capecodweddingplannerblog.com" rel="nofollow">wedding blog</a><br />
<a href="http://www.chicagoweddingsphotographer.com" rel="nofollow">wedding site</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon</title>
		<link>http://www.linux-mag.com/id/8747/#comment-277433</link>
		<dc:creator>Brandon</dc:creator>
		<pubDate>Mon, 09 Jul 2012 19:06:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/?p=8747#comment-277433</guid>
		<description>Nice intro. On to part 2 now.</description>
		<content:encoded><![CDATA[<p>Nice intro. On to part 2 now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon</title>
		<link>http://www.linux-mag.com/id/8747/#comment-277431</link>
		<dc:creator>Brandon</dc:creator>
		<pubDate>Mon, 09 Jul 2012 19:05:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/?p=8747#comment-277431</guid>
		<description>Nice intro... On to part 2 now.</description>
		<content:encoded><![CDATA[<p>Nice intro&#8230; On to part 2 now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cpanel tutorials</title>
		<link>http://www.linux-mag.com/id/8747/#comment-265223</link>
		<dc:creator>cpanel tutorials</dc:creator>
		<pubDate>Sun, 24 Jun 2012 20:59:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/?p=8747#comment-265223</guid>
		<description>I love what you guys are up too. This sort of clever work and 
exposure! Keep up the amazing works guys I&#039;ve  you guys to  blogroll.</description>
		<content:encoded><![CDATA[<p>I love what you guys are up too. This sort of clever work and<br />
exposure! Keep up the amazing works guys I&#8217;ve  you guys to  blogroll.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jacob</title>
		<link>http://www.linux-mag.com/id/8747/#comment-253367</link>
		<dc:creator>jacob</dc:creator>
		<pubDate>Tue, 12 Jun 2012 17:30:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/?p=8747#comment-253367</guid>
		<description>thank you =)</description>
		<content:encoded><![CDATA[<p>thank you =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: billopenSUSEfan</title>
		<link>http://www.linux-mag.com/id/8747/#comment-175793</link>
		<dc:creator>billopenSUSEfan</dc:creator>
		<pubDate>Fri, 30 Mar 2012 04:42:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/?p=8747#comment-175793</guid>
		<description>&lt;a href=&quot;&quot; rel=&quot;nofollow&quot;&gt;

I&#039;m extremely new to Linux/Unix. I read one book, and just started using GUI Linux OSs 2 years ago. But even I understand &gt; and &gt;&gt;, especially when used with cat. Hate to bring up the enemy but similar to &#124; with MS-_ _ _!

khess Good reading,

BillopenSUSEfan</description>
		<content:encoded><![CDATA[<p><a href="" rel="nofollow"></p>
<p>I&#8217;m extremely new to Linux/Unix. I read one book, and just started using GUI Linux OSs 2 years ago. But even I understand &gt; and &gt;&gt;, especially when used with cat. Hate to bring up the enemy but similar to | with MS-_ _ _!</p>
<p>khess Good reading,</p>
<p>BillopenSUSEfan</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bevans</title>
		<link>http://www.linux-mag.com/id/8747/#comment-175783</link>
		<dc:creator>bevans</dc:creator>
		<pubDate>Fri, 30 Mar 2012 04:34:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/?p=8747#comment-175783</guid>
		<description>&lt;a href=&quot;&quot; rel=&quot;nofollow&quot;&gt;
Really extremely very new to Linux/Unix. I read one book, and have been noodling around with GUI Linux. But even I understand the basics of &gt; and &gt;&gt;, especially when used with cat. Don&#039;t mean to site the enemy, but similar to &#124; with MS-___!

Good reading

khess</description>
		<content:encoded><![CDATA[<p><a href="" rel="nofollow"><br />
Really extremely very new to Linux/Unix. I read one book, and have been noodling around with GUI Linux. But even I understand the basics of &gt; and &gt;&gt;, especially when used with cat. Don&#8217;t mean to site the enemy, but similar to | with MS-___!</p>
<p>Good reading</p>
<p>khess</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: txknssav</title>
		<link>http://www.linux-mag.com/id/8747/#comment-142715</link>
		<dc:creator>txknssav</dc:creator>
		<pubDate>Tue, 07 Feb 2012 09:11:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/?p=8747#comment-142715</guid>
		<description>80RXqq  &lt;a href=&quot;http://yakgsubuaewv.com/&quot; rel=&quot;nofollow&quot;&gt;yakgsubuaewv&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>80RXqq  <a href="http://yakgsubuaewv.com/" rel="nofollow">yakgsubuaewv</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maria</title>
		<link>http://www.linux-mag.com/id/8747/#comment-142503</link>
		<dc:creator>Maria</dc:creator>
		<pubDate>Tue, 07 Feb 2012 03:01:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/?p=8747#comment-142503</guid>
		<description>What is the error you are gitteng?  Is the initial mysql connection succeeding?Edit:  I managed to catch your errors.  Here&#039;s what you&#039;re gitteng -Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/content/w/e/e/weeklydraft/html/register.php on line 15Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /home/content/w/e/e/weeklydraft/html/register.php on line 16Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/content/w/e/e/weeklydraft/html/register.php on line 27Take a look at the code at those line numbers, and make sure the connection variable you are passing to the mysql_* functions is the same as the variable you are setting in database.php.</description>
		<content:encoded><![CDATA[<p>What is the error you are gitteng?  Is the initial mysql connection succeeding?Edit:  I managed to catch your errors.  Here&#039;s what you&#039;re gitteng -Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/content/w/e/e/weeklydraft/html/register.php on line 15Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /home/content/w/e/e/weeklydraft/html/register.php on line 16Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/content/w/e/e/weeklydraft/html/register.php on line 27Take a look at the code at those line numbers, and make sure the connection variable you are passing to the mysql_* functions is the same as the variable you are setting in database.php.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gitesh</title>
		<link>http://www.linux-mag.com/id/8747/#comment-102183</link>
		<dc:creator>gitesh</dc:creator>
		<pubDate>Thu, 29 Dec 2011 13:25:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/?p=8747#comment-102183</guid>
		<description>Command line always produces magical results when GUI gives you expected results. We are working as &lt;a href=&quot;http://www.dbametrix.com&quot; rel=&quot;nofollow&quot;&gt;database dba&lt;/a&gt; and we always use commandline instead of GUI because GUI grabs so much bandwidth which is not available in our country. We need to identify shell first to start any work of shell script or command execution. Recently I have read good article on our company&#039;s site about &lt;a href=&quot;http://www.dbametrix.com/unix-shell.html&quot; rel=&quot;nofollow&quot;&gt;identify your shell&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Command line always produces magical results when GUI gives you expected results. We are working as <a href="http://www.dbametrix.com" rel="nofollow">database dba</a> and we always use commandline instead of GUI because GUI grabs so much bandwidth which is not available in our country. We need to identify shell first to start any work of shell script or command execution. Recently I have read good article on our company&#8217;s site about <a href="http://www.dbametrix.com/unix-shell.html" rel="nofollow">identify your shell</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken</title>
		<link>http://www.linux-mag.com/id/8747/#comment-76097</link>
		<dc:creator>Ken</dc:creator>
		<pubDate>Sat, 10 Dec 2011 00:05:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/?p=8747#comment-76097</guid>
		<description>&quot;touch&quot; allows your script to error out in case the directory is read-only for your user rather than waiting for the user to enter some text then find out it errored out after a long input.</description>
		<content:encoded><![CDATA[<p>&#8220;touch&#8221; allows your script to error out in case the directory is read-only for your user rather than waiting for the user to enter some text then find out it errored out after a long input.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Dreggors</title>
		<link>http://www.linux-mag.com/id/8747/#comment-75103</link>
		<dc:creator>David Dreggors</dc:creator>
		<pubDate>Fri, 09 Dec 2011 06:14:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/?p=8747#comment-75103</guid>
		<description>Hey listen, all of us started out somewhere and this small starter is as good a place as any. For all of you that can&#039;t &quot;understand&quot; that this can and is helpful to those that don&#039;t know... please look at all the comments that are grateful for this post. No it&#039;s not &quot;magic&quot; to some of us and hasn&#039;t been for 20+ years to fewer of us, but it is to new Linux users and new script writers. It is very much magic to them.

You may not like it but this simple part 1 has taught some things already:

1. The first line contains a line that determines what shell is used.
2. Commands run on the command line are written the same way in their script.
3. Variables can be created easily and values in them can be reused all through their script.
4. That they can redirect any output into a file.

However, that said I would like to add (for clearification) the following things to this tutorial:

1. The line #!/bin/bash is often called the &quot;shabang&quot; (&#039;http://en.wikipedia.org/wiki/Shebang_(Unix)&#039;) and can be any interpreter or shell (/usr/bin/perl, /bin/ksh, etc...)
2. Redirection using &#039;&gt;&#039; or &#039;&gt;&gt;&#039; will overwrite (&gt;) or append (&gt;&gt;).
3. Creating a variable in bash (and most shells) is done without the special character $, you only prepend the $ to the variable name when you want the shell to give you the value contained within the variable (MY_VAR=&quot;Some value&quot;; echo &quot;$MY_VAR&quot;).
4. Google is your friend, if you have questions there are literally millions of pages of answers found on google!</description>
		<content:encoded><![CDATA[<p>Hey listen, all of us started out somewhere and this small starter is as good a place as any. For all of you that can&#8217;t &#8220;understand&#8221; that this can and is helpful to those that don&#8217;t know&#8230; please look at all the comments that are grateful for this post. No it&#8217;s not &#8220;magic&#8221; to some of us and hasn&#8217;t been for 20+ years to fewer of us, but it is to new Linux users and new script writers. It is very much magic to them.</p>
<p>You may not like it but this simple part 1 has taught some things already:</p>
<p>1. The first line contains a line that determines what shell is used.<br />
2. Commands run on the command line are written the same way in their script.<br />
3. Variables can be created easily and values in them can be reused all through their script.<br />
4. That they can redirect any output into a file.</p>
<p>However, that said I would like to add (for clearification) the following things to this tutorial:</p>
<p>1. The line #!/bin/bash is often called the &#8220;shabang&#8221; (&#8216;<a href="http://en.wikipedia.org/wiki/Shebang_(Unix)" rel="nofollow">http://en.wikipedia.org/wiki/Shebang_(Unix)</a>&#8216;) and can be any interpreter or shell (/usr/bin/perl, /bin/ksh, etc&#8230;)<br />
2. Redirection using &#8216;&gt;&#8217; or &#8216;&gt;&gt;&#8217; will overwrite (&gt;) or append (&gt;&gt;).<br />
3. Creating a variable in bash (and most shells) is done without the special character $, you only prepend the $ to the variable name when you want the shell to give you the value contained within the variable (MY_VAR=&#8221;Some value&#8221;; echo &#8220;$MY_VAR&#8221;).<br />
4. Google is your friend, if you have questions there are literally millions of pages of answers found on google!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bernard Swiss</title>
		<link>http://www.linux-mag.com/id/8747/#comment-75017</link>
		<dc:creator>Bernard Swiss</dc:creator>
		<pubDate>Fri, 09 Dec 2011 04:38:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/?p=8747#comment-75017</guid>
		<description>Well, for this article&#039;s target audience, maybe this one would be a better place to start, 
http://tldp.org/LDP/Bash-Beginners-Guide/html/index.html

Good call linking to tldp (The Linux Documentation Project http://tldp.org/ ).  It&#039;s been rather a while since I checked it out -- and it looks like the material is now being updated more regularly (for a while it was kind of lagging).  I highly recommend it.  It&#039;s a really great site for anyone able to study on their own, from newbie to guru.</description>
		<content:encoded><![CDATA[<p>Well, for this article&#8217;s target audience, maybe this one would be a better place to start,<br />
<a href="http://tldp.org/LDP/Bash-Beginners-Guide/html/index.html" rel="nofollow">http://tldp.org/LDP/Bash-Beginners-Guide/html/index.html</a></p>
<p>Good call linking to tldp (The Linux Documentation Project <a href="http://tldp.org/" rel="nofollow">http://tldp.org/</a> ).  It&#8217;s been rather a while since I checked it out &#8212; and it looks like the material is now being updated more regularly (for a while it was kind of lagging).  I highly recommend it.  It&#8217;s a really great site for anyone able to study on their own, from newbie to guru.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bob</title>
		<link>http://www.linux-mag.com/id/8747/#comment-44313</link>
		<dc:creator>bob</dc:creator>
		<pubDate>Fri, 18 Nov 2011 02:45:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/?p=8747#comment-44313</guid>
		<description>I will suggest Debian Squeeze to any one who is looking for rock solid stability. &lt;a href=&quot;http://www.pelletmillguide.com/&quot; rel=&quot;nofollow&quot;&gt;biomass pellet&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I will suggest Debian Squeeze to any one who is looking for rock solid stability. <a href="http://www.pelletmillguide.com/" rel="nofollow">biomass pellet</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Noneya</title>
		<link>http://www.linux-mag.com/id/8747/#comment-29239</link>
		<dc:creator>Noneya</dc:creator>
		<pubDate>Wed, 09 Nov 2011 01:20:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/?p=8747#comment-29239</guid>
		<description>I don&#039;t remember him asking if you can &quot;tolerate&quot; anything.  Get over yourself.  He&#039;s helping newbies.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t remember him asking if you can &#8220;tolerate&#8221; anything.  Get over yourself.  He&#8217;s helping newbies.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Noneya</title>
		<link>http://www.linux-mag.com/id/8747/#comment-29233</link>
		<dc:creator>Noneya</dc:creator>
		<pubDate>Wed, 09 Nov 2011 01:17:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/?p=8747#comment-29233</guid>
		<description>Thank you, Mr. Hess.  I wouldn&#039;t let what those naysayers rant on about dissuade me.  This is a perfect primer for aspiring administrators.  Everybody has to learn it from somewhere, and it looks like the user two up from my post is one of those who have benefited from it. As for the naysayers, my aunt had the perfect saying for you.  You think your hot sh!t on a silver platter, yet I see a cold turd on a paper plate.</description>
		<content:encoded><![CDATA[<p>Thank you, Mr. Hess.  I wouldn&#8217;t let what those naysayers rant on about dissuade me.  This is a perfect primer for aspiring administrators.  Everybody has to learn it from somewhere, and it looks like the user two up from my post is one of those who have benefited from it. As for the naysayers, my aunt had the perfect saying for you.  You think your hot sh!t on a silver platter, yet I see a cold turd on a paper plate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Hudson</title>
		<link>http://www.linux-mag.com/id/8747/#comment-26299</link>
		<dc:creator>Chris Hudson</dc:creator>
		<pubDate>Mon, 07 Nov 2011 16:22:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/?p=8747#comment-26299</guid>
		<description>Nice article.  Where&#039;s part two?</description>
		<content:encoded><![CDATA[<p>Nice article.  Where&#8217;s part two?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eib</title>
		<link>http://www.linux-mag.com/id/8747/#comment-10047</link>
		<dc:creator>eib</dc:creator>
		<pubDate>Sat, 15 Oct 2011 03:57:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/?p=8747#comment-10047</guid>
		<description>great first time intro for me, thanks!</description>
		<content:encoded><![CDATA[<p>great first time intro for me, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dtigue</title>
		<link>http://www.linux-mag.com/id/8747/#comment-10046</link>
		<dc:creator>dtigue</dc:creator>
		<pubDate>Thu, 13 Oct 2011 03:56:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/?p=8747#comment-10046</guid>
		<description>I liked it. I often have to check a book or website to remember exactly how to do this or that. But for someone who never has written a script this shows them how one might look and what could be accomplished.</description>
		<content:encoded><![CDATA[<p>I liked it. I often have to check a book or website to remember exactly how to do this or that. But for someone who never has written a script this shows them how one might look and what could be accomplished.</p>
]]></content:encoded>
	</item>
</channel>
</rss>