<?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>Alonzo Fretwell &#187; Shell Script</title>
	<atom:link href="http://alonzofretwell.com/blog/tag/shell-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://alonzofretwell.com</link>
	<description>Use Open Source</description>
	<lastBuildDate>Sun, 14 Nov 2010 19:29:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How To Run A Shell Script</title>
		<link>http://alonzofretwell.com/blog/how-to-run-a-shell-script/</link>
		<comments>http://alonzofretwell.com/blog/how-to-run-a-shell-script/#comments</comments>
		<pubDate>Sat, 19 Jun 2010 21:04:04 +0000</pubDate>
		<dc:creator>Alonzo Fretwell</dc:creator>
				<category><![CDATA[BSD]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Shell Script]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[OS X Terminal]]></category>

		<guid isPermaLink="false">http://alonzofretwell.com/?p=1038</guid>
		<description><![CDATA[One may run or &#8220;execute&#8221;  shell scripts by typing it&#8217;s filename as a command and pressing &#60;Enter&#62; as they would with a regular command. However, the script file must must have executable permission set (see the previous post). Also, scripts &#8230; <a href="http://alonzofretwell.com/blog/how-to-run-a-shell-script/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<!-- Easy AdSense V2.95 -->
<!-- Post[count: 3] -->
<div class="ezAdsense adsense adsense-leadin" style="text-align:left;margin:12px; "><script type="text/javascript"><!--
google_ad_client = "pub-0839217397805230";
/* 468x15, created 4/18/10 */
google_ad_slot = "0740248853";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div><p>One may run or &#8220;execute&#8221;  shell scripts by typing it&#8217;s filename as a command and pressing &lt;Enter&gt; as they would with a regular command. However, the script file must must have executable permission set (see the previous post). Also, scripts may be given arguments and options similar to other programs.</p>
<p>Scripts stored in a directory on one&#8217;s path  may be run by simply typing the name of the file and pressing &lt;Enter&gt;. Otherwise one must provide a relative or full path to the location of the script file. Or if one&#8217;s current working directory contains the script file it can be run buy adding a &#8220;./&#8221; to the filename.</p>
<p>Examples&#8230;<br />
Run a script named &#8220;<strong>hello</strong>&#8221; that is in a directory in your path&#8230;<br />
$ <strong>hello</strong> &lt;Enter&gt;</p>
<p>Run a script named &#8220;<strong>hello</strong>&#8221; that is in your current working directory&#8230;<br />
$ <strong>./hello</strong> &lt;Enter&gt;</p>
<p>Run a script named <strong>hello</strong> that is in ~/MyScripts/ (a subdirectory of your &#8220;home&#8221; directory)&#8230;<br />
$ <strong>~/MyScripts/hello</strong> &lt;Enter&gt;</p>


<div class="shr-bookmarks shr-bookmarks-expand">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://alonzofretwell.com/blog/how-to-run-a-shell-script/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script&amp;desc=One%20may%20run%20or%20%22execute%22%20%C2%A0shell%20scripts%20by%20typing%20it%27s%20filename%20as%20a%20command%20and%20pressing%20%26lt%3BEnter%26gt%3B%20as%20they%20would%20with%20a%20regular%20command.%20However%2C%20the%20script%20file%20must%20must%20have%20executable%20permission%20set%20%28see%20the%20previous%20post%29.%20Also%2C%20scripts%20may%20be%20given%20arguments%20and%20options%20similar%20to%20other%20" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;bm_description=How+To+Run+A+Shell+Script&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://alonzofretwell.com/blog/how-to-run-a-shell-script/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=How+To+Run+A+Shell+Script+-+http://b2l.me/4z5j3&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-100zakladok">
			<a href="http://www.100zakladok.ru/save/?bmurl=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;bmtitle=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Add this to 100 bookmarks">Add this to 100 bookmarks</a>
		</li>
		<li class="shr-bebo">
			<a href="http://www.bebo.com/c/share?Url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;Title=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Share this on Bebo">Share this on Bebo</a>
		</li>
		<li class="shr-bitacoras">
			<a href="http://bitacoras.com/anotaciones/http://alonzofretwell.com/blog/how-to-run-a-shell-script/" rel="nofollow" class="external" title="Submit this to Bitacoras">Submit this to Bitacoras</a>
		</li>
		<li class="shr-blinklist">
			<a href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;Title=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Share this on Blinklist">Share this on Blinklist</a>
		</li>
		<li class="shr-blogengage">
			<a href="http://www.blogengage.com/submit.php?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/" rel="nofollow" class="external" title="Engage with this article!">Engage with this article!</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;n=How+To+Run+A+Shell+Script&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-blogmarks">
			<a href="http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Mark this on BlogMarks">Mark this on BlogMarks</a>
		</li>
		<li class="shr-bobrdobr">
			<a href="http://bobrdobr.ru/addext.html?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Share this on BobrDobr">Share this on BobrDobr</a>
		</li>
		<li class="shr-bonzobox">
			<a href="http://bonzobox.com/toolbar/add?pop=1&amp;u=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;t=How+To+Run+A+Shell+Script&amp;d=One%20may%20run%20or%20%22execute%22%20%C2%A0shell%20scripts%20by%20typing%20it%27s%20filename%20as%20a%20command%20and%20pressing%20%26lt%3BEnter%26gt%3B%20as%20they%20would%20with%20a%20regular%20command.%20However%2C%20the%20script%20file%20must%20must%20have%20executable%20permission%20set%20%28see%20the%20previous%20post%29.%20Also%2C%20scripts%20may%20be%20given%20arguments%20and%20options%20similar%20to%20other%20" rel="nofollow" class="external" title="Add this to BonzoBox">Add this to BonzoBox</a>
		</li>
		<li class="shr-boxnet">
			<a href="" rel="nofollow" class="external" title=""></a>
		</li>
		<li class="shr-buzzster">
			<a href="" rel="nofollow" title=""></a>
		</li>
		<li class="shr-current">
			<a href="http://current.com/clipper.htm?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Post this to Current">Post this to Current</a>
		</li>
		<li class="shr-designbump">
			<a href="http://designbump.com/submit?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script&amp;body=One%20may%20run%20or%20%22execute%22%20%C2%A0shell%20scripts%20by%20typing%20it%27s%20filename%20as%20a%20command%20and%20pressing%20%26lt%3BEnter%26gt%3B%20as%20they%20would%20with%20a%20regular%20command.%20However%2C%20the%20script%20file%20must%20must%20have%20executable%20permission%20set%20%28see%20the%20previous%20post%29.%20Also%2C%20scripts%20may%20be%20given%20arguments%20and%20options%20similar%20to%20other%20" rel="nofollow" class="external" title="Bump this on DesignBump">Bump this on DesignBump</a>
		</li>
		<li class="shr-designfloat">
			<a href="http://www.designfloat.com/submit.php?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Submit this to DesignFloat">Submit this to DesignFloat</a>
		</li>
		<li class="shr-dzone">
			<a href="http://www.dzone.com/links/add.html?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script&amp;description=One%20may%20run%20or%20%22execute%22%20%C2%A0shell%20scripts%20by%20typing%20it%27s%20filename%20as%20a%20command%20and%20pressing%20%26lt%3BEnter%26gt%3B%20as%20they%20would%20with%20a%20regular%20command.%20However%2C%20the%20script%20file%20must%20must%20have%20executable%20permission%20set%20%28see%20the%20previous%20post%29.%20Also%2C%20scripts%20may%20be%20given%20arguments%20and%20options%20similar%20to%20other%20" rel="nofollow" class="external" title="Add this to DZone">Add this to DZone</a>
		</li>
		<li class="shr-ekudos">
			<a href="http://www.ekudos.nl/artikel/nieuw?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script&amp;desc=One%20may%20run%20or%20%22execute%22%20%C2%A0shell%20scripts%20by%20typing%20it%27s%20filename%20as%20a%20command%20and%20pressing%20%26lt%3BEnter%26gt%3B%20as%20they%20would%20with%20a%20regular%20command.%20However%2C%20the%20script%20file%20must%20must%20have%20executable%20permission%20set%20%28see%20the%20previous%20post%29.%20Also%2C%20scripts%20may%20be%20given%20arguments%20and%20options%20similar%20to%20other%20" rel="nofollow" class="external" title="Submit this to eKudos">Submit this to eKudos</a>
		</li>
		<li class="shr-evernote">
			<a href="http://www.evernote.com/clip.action?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Clip this to Evernote">Clip this to Evernote</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;t=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-faqpal">
			<a href="http://www.faqpal.com/submit?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/" rel="nofollow" class="external" title="Submit this to FAQpal">Submit this to FAQpal</a>
		</li>
		<li class="shr-fleck">
			<a href="" rel="nofollow" class="external" title=""></a>
		</li>
		<li class="shr-friendfeed">
			<a href="http://www.friendfeed.com/share?title=How+To+Run+A+Shell+Script&amp;link=http://alonzofretwell.com/blog/how-to-run-a-shell-script/" rel="nofollow" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="shr-fwisp">
			<a href="http://fwisp.com/submit?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/" rel="nofollow" class="external" title="Share this on Fwisp">Share this on Fwisp</a>
		</li>
		<li class="shr-globalgrind">
			<a href="http://globalgrind.com/submission/submit.aspx?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;type=Article&amp;title=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Grind this! on Global Grind">Grind this! on Global Grind</a>
		</li>
		<li class="shr-gmail">
			<a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=How+To+Run+A+Shell+Script&amp;body=Link: http://alonzofretwell.com/blog/how-to-run-a-shell-script/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A One%20may%20run%20or%20%22execute%22%20%C2%A0shell%20scripts%20by%20typing%20it%27s%20filename%20as%20a%20command%20and%20pressing%20%26lt%3BEnter%26gt%3B%20as%20they%20would%20with%20a%20regular%20command.%20However%2C%20the%20script%20file%20must%20must%20have%20executable%20permission%20set%20%28see%20the%20previous%20post%29.%20Also%2C%20scripts%20may%20be%20given%20arguments%20and%20options%20similar%20to%20other%20" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script&amp;srcUrl=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;srcTitle=How+To+Run+A+Shell+Script&amp;snippet=One%20may%20run%20or%20%22execute%22%20%C2%A0shell%20scripts%20by%20typing%20it%27s%20filename%20as%20a%20command%20and%20pressing%20%26lt%3BEnter%26gt%3B%20as%20they%20would%20with%20a%20regular%20command.%20However%2C%20the%20script%20file%20must%20must%20have%20executable%20permission%20set%20%28see%20the%20previous%20post%29.%20Also%2C%20scripts%20may%20be%20given%20arguments%20and%20options%20similar%20to%20other%20" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-hackernews">
			<a href="http://news.ycombinator.com/submitlink?u=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;t=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a>
		</li>
		<li class="shr-hatena">
			<a href="http://b.hatena.ne.jp/add?mode=confirm&amp;url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Bookmarks this on Hatena Bookmarks">Bookmarks this on Hatena Bookmarks</a>
		</li>
		<li class="shr-hotmail">
			<a href="http://mail.live.com/?rru=compose?subject=How+To+Run+A+Shell+Script&amp;body=Link: http://alonzofretwell.com/blog/how-to-run-a-shell-script/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A One%20may%20run%20or%20%22execute%22%20%C2%A0shell%20scripts%20by%20typing%20it%27s%20filename%20as%20a%20command%20and%20pressing%20%26lt%3BEnter%26gt%3B%20as%20they%20would%20with%20a%20regular%20command.%20However%2C%20the%20script%20file%20must%20must%20have%20executable%20permission%20set%20%28see%20the%20previous%20post%29.%20Also%2C%20scripts%20may%20be%20given%20arguments%20and%20options%20similar%20to%20other%20" rel="nofollow" class="external" title="Email this via Hotmail">Email this via Hotmail</a>
		</li>
		<li class="shr-hyves">
			<a href="http://www.hyves.nl/profilemanage/add/tips/?name=How+To+Run+A+Shell+Script&amp;text=One%20may%20run%20or%20%22execute%22%20%C2%A0shell%20scripts%20by%20typing%20it%27s%20filename%20as%20a%20command%20and%20pressing%20%26lt%3BEnter%26gt%3B%20as%20they%20would%20with%20a%20regular%20command.%20However%2C%20the%20script%20file%20must%20must%20have%20executable%20permission%20set%20%28see%20the%20previous%20post%29.%20Also%2C%20scripts%20may%20be%20given%20arguments%20and%20options%20similar%20to%20other%20+-+http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;rating=5" rel="nofollow" class="external" title="Share this on Hyves">Share this on Hyves</a>
		</li>
		<li class="shr-identica">
			<a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;How+To+Run+A+Shell+Script&quot;+-+from+http://b2l.me/4z5j3" rel="nofollow" class="external" title="Post this to Identica">Post this to Identica</a>
		</li>
		<li class="shr-izeby">
			<a href="http://izeby.com/submit.php?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/" rel="nofollow" class="external" title="Add this to Izeby">Add this to Izeby</a>
		</li>
		<li class="shr-jumptags">
			<a href="http://www.jumptags.com/add/?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Submit this link to JumpTags">Submit this link to JumpTags</a>
		</li>
		<li class="shr-kaevur">
			<a href="http://kaevur.com/submit.php?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/" rel="nofollow" class="external" title="Share this on Kaevur">Share this on Kaevur</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script&amp;summary=One%20may%20run%20or%20%22execute%22%20%C2%A0shell%20scripts%20by%20typing%20it%27s%20filename%20as%20a%20command%20and%20pressing%20%26lt%3BEnter%26gt%3B%20as%20they%20would%20with%20a%20regular%20command.%20However%2C%20the%20script%20file%20must%20must%20have%20executable%20permission%20set%20%28see%20the%20previous%20post%29.%20Also%2C%20scripts%20may%20be%20given%20arguments%20and%20options%20similar%20to%20other%20&amp;source=Alonzo Fretwell" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22How%20To%20Run%20A%20Shell%20Script%22&amp;body=Link: http://alonzofretwell.com/blog/how-to-run-a-shell-script/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A One%20may%20run%20or%20%22execute%22%20%C2%A0shell%20scripts%20by%20typing%20it%27s%20filename%20as%20a%20command%20and%20pressing%20%26lt%3BEnter%26gt%3B%20as%20they%20would%20with%20a%20regular%20command.%20However%2C%20the%20script%20file%20must%20must%20have%20executable%20permission%20set%20%28see%20the%20previous%20post%29.%20Also%2C%20scripts%20may%20be%20given%20arguments%20and%20options%20similar%20to%20other%20" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-memoryru">
			<a href="http://memori.ru/link/?sm=1&amp;u_data[url]=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;u_data[name]=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Add this to Memory.ru">Add this to Memory.ru</a>
		</li>
		<li class="shr-meneame">
			<a href="http://meneame.net/submit.php?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/" rel="nofollow" class="external" title="Submit this to Meneame">Submit this to Meneame</a>
		</li>
		<li class="shr-moemesto">
			<a href="http://moemesto.ru/post.php?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Add this to MyPlace">Add this to MyPlace</a>
		</li>
		<li class="shr-mylinkvault">
			<a href="http://www.mylinkvault.com/link-page.php?u=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;n=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Store this link on MyLinkVault">Store this link on MyLinkVault</a>
		</li>
		<li class="shr-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;t=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="shr-n4g">
			<a href="http://www.n4g.com/tips.aspx?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Submit tip to N4G">Submit tip to N4G</a>
		</li>
		<li class="shr-netvibes">
			<a href="http://www.netvibes.com/share?title=How+To+Run+A+Shell+Script&amp;url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/" rel="nofollow" class="external" title="Submit this to Netvibes">Submit this to Netvibes</a>
		</li>
		<li class="shr-netvouz">
			<a href="http://www.netvouz.com/action/submitBookmark?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script&amp;popup=no" rel="nofollow" class="external" title="Submit this to Netvouz">Submit this to Netvouz</a>
		</li>
		<li class="shr-newsvine">
			<a href="http://www.newsvine.com/_tools/seed&amp;save?u=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;h=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Seed this on Newsvine">Seed this on Newsvine</a>
		</li>
		<li class="shr-ning">
			<a href="http://bookmarks.ning.com/addItem.php?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;T=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Add this to Ning">Add this to Ning</a>
		</li>
		<li class="shr-nujij">
			<a href="http://nujij.nl/jij.lynkx?t=How+To+Run+A+Shell+Script&amp;u=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;b=One%20may%20run%20or%20%22execute%22%20%C2%A0shell%20scripts%20by%20typing%20it%27s%20filename%20as%20a%20command%20and%20pressing%20%26lt%3BEnter%26gt%3B%20as%20they%20would%20with%20a%20regular%20command.%20However%2C%20the%20script%20file%20must%20must%20have%20executable%20permission%20set%20%28see%20the%20previous%20post%29.%20Also%2C%20scripts%20may%20be%20given%20arguments%20and%20options%20similar%20to%20other%20" rel="nofollow" class="external" title="Submit this to NUjij">Submit this to NUjij</a>
		</li>
		<li class="shr-oknotizie">
			<a href="http://oknotizie.virgilio.it/post?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Share this on OkNotizie">Share this on OkNotizie</a>
		</li>
		<li class="shr-orkut">
			<a href="http://promote.orkut.com/preview?nt=orkut.com&amp;tt=How+To+Run+A+Shell+Script&amp;du=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;cn=One%20may%20run%20or%20%22execute%22%20%C2%A0shell%20scripts%20by%20typing%20it%27s%20filename%20as%20a%20command%20and%20pressing%20%26lt%3BEnter%26gt%3B%20as%20they%20would%20with%20a%20regular%20command.%20However%2C%20the%20script%20file%20must%20must%20have%20executable%20permission%20set%20%28see%20the%20previous%20post%29.%20Also%2C%20scripts%20may%20be%20given%20arguments%20and%20options%20similar%20to%20other%20" rel="nofollow" class="external" title="Promote this on Orkut">Promote this on Orkut</a>
		</li>
		<li class="shr-pfbuzz">
			<a href="http://pfbuzz.com/submit?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Share this on PFBuzz">Share this on PFBuzz</a>
		</li>
		<li class="shr-pingfm">
			<a href="http://ping.fm/ref/?link=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script&amp;body=One%20may%20run%20or%20%22execute%22%20%C2%A0shell%20scripts%20by%20typing%20it%27s%20filename%20as%20a%20command%20and%20pressing%20%26lt%3BEnter%26gt%3B%20as%20they%20would%20with%20a%20regular%20command.%20However%2C%20the%20script%20file%20must%20must%20have%20executable%20permission%20set%20%28see%20the%20previous%20post%29.%20Also%2C%20scripts%20may%20be%20given%20arguments%20and%20options%20similar%20to%20other%20" rel="nofollow" class="external" title="Ping this on Ping.fm">Ping this on Ping.fm</a>
		</li>
		<li class="shr-plaxo">
			<a href="http://www.plaxo.com/?share_link=http://alonzofretwell.com/blog/how-to-run-a-shell-script/" rel="nofollow" class="external" title="Share this on Plaxo">Share this on Plaxo</a>
		</li>
		<li class="shr-plurk">
			<a href="http://www.plurk.com/m?content=How+To+Run+A+Shell+Script+-+http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;qualifier=shares" rel="nofollow" class="external" title="Share this on Plurk">Share this on Plurk</a>
		</li>
		<li class="shr-posterous">
			<a href="http://posterous.com/share?linkto=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script&amp;selection=One%20may%20run%20or%20%22execute%22%20%C2%A0shell%20scripts%20by%20typing%20it%27s%20filename%20as%20a%20command%20and%20pressing%20%26lt%3BEnter%26gt%3B%20as%20they%20would%20with%20a%20regular%20command.%20However%2C%20the%20script%20file%20must%20must%20have%20executable%20permission%20set%20%28see%20the%20previous%20post%29.%20Also%2C%20scripts%20may%20be%20given%20arguments%20and%20options%20similar%20to%20other%20" rel="nofollow" class="external" title="Post this to Posterous">Post this to Posterous</a>
		</li>
		<li class="shr-printfriendly">
			<a href="http://www.printfriendly.com/print?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/" rel="nofollow" class="external" title="Send this page to Print Friendly">Send this page to Print Friendly</a>
		</li>
		<li class="shr-propeller">
			<a href="http://www.propeller.com/submit/?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/" rel="nofollow" class="external" title="Submit this story to Propeller">Submit this story to Propeller</a>
		</li>
		<li class="shr-pusha">
			<a href="http://www.pusha.se/posta?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Push this on Pusha">Push this on Pusha</a>
		</li>
		<li class="shr-scriptstyle">
			<a href="http://scriptandstyle.com/submit?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Submit this to Script &amp; Style">Submit this to Script &amp; Style</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-sphinn">
			<a href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http://alonzofretwell.com/blog/how-to-run-a-shell-script/" rel="nofollow" class="external" title="Sphinn this on Sphinn">Sphinn this on Sphinn</a>
		</li>
		<li class="shr-springpad">
			<a href="http://springpadit.com/clip.action?body=One%20may%20run%20or%20%22execute%22%20%C2%A0shell%20scripts%20by%20typing%20it%27s%20filename%20as%20a%20command%20and%20pressing%20%26lt%3BEnter%26gt%3B%20as%20they%20would%20with%20a%20regular%20command.%20However%2C%20the%20script%20file%20must%20must%20have%20executable%20permission%20set%20%28see%20the%20previous%20post%29.%20Also%2C%20scripts%20may%20be%20given%20arguments%20and%20options%20similar%20to%20other%20&amp;url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;format=microclip&amp;title=How+To+Run+A+Shell+Script&amp;isSelected=true" rel="nofollow" class="external" title="Spring this on SpringPad">Spring this on SpringPad</a>
		</li>
		<li class="shr-squidoo">
			<a href="http://www.squidoo.com/lensmaster/bookmark?http://alonzofretwell.com/blog/how-to-run-a-shell-script/" rel="nofollow" class="external" title="Add to a lense on Squidoo">Add to a lense on Squidoo</a>
		</li>
		<li class="shr-strands">
			<a href="http://www.strands.com/tools/share/webpage?title=How+To+Run+A+Shell+Script&amp;url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/" rel="nofollow" class="external" title="Submit this to Strands">Submit this to Strands</a>
		</li>
		<li class="shr-stumpedia">
			<a href="http://www.stumpedia.com/submit?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Add this to Stumpedia">Add this to Stumpedia</a>
		</li>
		<li class="shr-techmeme">
			<a href="http://twitter.com/home/?status=Tip+@Techmeme+http://alonzofretwell.com/blog/how-to-run-a-shell-script/+&quot;How+To+Run+A+Shell+Script&quot;&amp;source=shareaholic" rel="nofollow" class="external" title="Tip this to TechMeme">Tip this to TechMeme</a>
		</li>
		<li class="shr-tipd">
			<a href="http://tipd.com/submit.php?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/" rel="nofollow" class="external" title="Share this on Tipd">Share this on Tipd</a>
		</li>
		<li class="shr-tomuse">
			<a href="mailto:tips@tomuse.com?subject=New+tip+submitted+via+the+SexyBookmarks+Plugin%21&amp;body=Link: http://alonzofretwell.com/blog/how-to-run-a-shell-script/ %0D%0A%0D%0A One%20may%20run%20or%20%22execute%22%20%C2%A0shell%20scripts%20by%20typing%20it%27s%20filename%20as%20a%20command%20and%20pressing%20%26lt%3BEnter%26gt%3B%20as%20they%20would%20with%20a%20regular%20command.%20However%2C%20the%20script%20file%20must%20must%20have%20executable%20permission%20set%20%28see%20the%20previous%20post%29.%20Also%2C%20scripts%20may%20be%20given%20arguments%20and%20options%20similar%20to%20other%20" rel="nofollow" class="external" title="Suggest this article to ToMuse">Suggest this article to ToMuse</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Falonzofretwell.com%2Fblog%2Fhow-to-run-a-shell-script%2F&amp;t=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="shr-twittley">
			<a href="http://twittley.com/submit/?title=How+To+Run+A+Shell+Script&amp;url=http%3A%2F%2Falonzofretwell.com%2Fblog%2Fhow-to-run-a-shell-script%2F&amp;desc=One%20may%20run%20or%20%22execute%22%20%C2%A0shell%20scripts%20by%20typing%20it%27s%20filename%20as%20a%20command%20and%20pressing%20%26lt%3BEnter%26gt%3B%20as%20they%20would%20with%20a%20regular%20command.%20However%2C%20the%20script%20file%20must%20must%20have%20executable%20permission%20set%20%28see%20the%20previous%20post%29.%20Also%2C%20scripts%20may%20be%20given%20arguments%20and%20options%20similar%20to%20other%20&amp;pcat=Technology&amp;tags=" rel="nofollow" class="external" title="Submit this to Twittley">Submit this to Twittley</a>
		</li>
		<li class="shr-viadeo">
			<a href="http://www.viadeo.com/shareit/share/?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script&amp;urlaffiliate=31138" rel="nofollow" class="external" title="Share this on Viadeo">Share this on Viadeo</a>
		</li>
		<li class="shr-virb">
			<a href="http://virb.com/share?external&amp;v=2&amp;url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Share this on Virb">Share this on Virb</a>
		</li>
		<li class="shr-webblend">
			<a href="http://thewebblend.com/submit?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script&amp;body=One%20may%20run%20or%20%22execute%22%20%C2%A0shell%20scripts%20by%20typing%20it%27s%20filename%20as%20a%20command%20and%20pressing%20%26lt%3BEnter%26gt%3B%20as%20they%20would%20with%20a%20regular%20command.%20However%2C%20the%20script%20file%20must%20must%20have%20executable%20permission%20set%20%28see%20the%20previous%20post%29.%20Also%2C%20scripts%20may%20be%20given%20arguments%20and%20options%20similar%20to%20other%20" rel="nofollow" class="external" title="Blend this!">Blend this!</a>
		</li>
		<li class="shr-wikio">
			<a href="" rel="nofollow" class="external" title=""></a>
		</li>
		<li class="shr-wykop">
			<a href="http://www.wykop.pl/dodaj?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Add this to Wykop!">Add this to Wykop!</a>
		</li>
		<li class="shr-xerpi">
			<a href="http://www.xerpi.com/block/add_link_from_extension?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;title=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Save this to Xerpi">Save this to Xerpi</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;submitHeadline=How+To+Run+A+Shell+Script&amp;submitSummary=One%20may%20run%20or%20%22execute%22%20%C2%A0shell%20scripts%20by%20typing%20it%27s%20filename%20as%20a%20command%20and%20pressing%20%26lt%3BEnter%26gt%3B%20as%20they%20would%20with%20a%20regular%20command.%20However%2C%20the%20script%20file%20must%20must%20have%20executable%20permission%20set%20%28see%20the%20previous%20post%29.%20Also%2C%20scripts%20may%20be%20given%20arguments%20and%20options%20similar%20to%20other%20&amp;submitCategory=science&amp;submitAssetType=text" rel="nofollow" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-yahoomail">
			<a href="http://compose.mail.yahoo.com/?Subject=How+To+Run+A+Shell+Script&amp;body=Link: http://alonzofretwell.com/blog/how-to-run-a-shell-script/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A One%20may%20run%20or%20%22execute%22%20%C2%A0shell%20scripts%20by%20typing%20it%27s%20filename%20as%20a%20command%20and%20pressing%20%26lt%3BEnter%26gt%3B%20as%20they%20would%20with%20a%20regular%20command.%20However%2C%20the%20script%20file%20must%20must%20have%20executable%20permission%20set%20%28see%20the%20previous%20post%29.%20Also%2C%20scripts%20may%20be%20given%20arguments%20and%20options%20similar%20to%20other%20" rel="nofollow" class="external" title="Email this via Yahoo! Mail">Email this via Yahoo! Mail</a>
		</li>
		<li class="shr-yandex">
			<a href="http://zakladki.yandex.ru/userarea/links/addfromfav.asp?bAddLink_x=1&amp;lurl=http://alonzofretwell.com/blog/how-to-run-a-shell-script/&amp;lname=How+To+Run+A+Shell+Script" rel="nofollow" class="external" title="Add this to Yandex.Bookmarks">Add this to Yandex.Bookmarks</a>
		</li>
		<li class="shr-zabox">
			<a href="http://www.zabox.net/submit.php?url=http://alonzofretwell.com/blog/how-to-run-a-shell-script/" rel="nofollow" class="external" title="Box this on Zabox">Box this on Zabox</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://alonzofretwell.com/blog/how-to-run-a-shell-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating A Shell Script</title>
		<link>http://alonzofretwell.com/blog/creating-a-shell-script/</link>
		<comments>http://alonzofretwell.com/blog/creating-a-shell-script/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 19:51:40 +0000</pubDate>
		<dc:creator>Alonzo Fretwell</dc:creator>
				<category><![CDATA[BSD]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Shell Script]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[OS X Terminal]]></category>

		<guid isPermaLink="false">http://alonzofretwell.com/?p=1033</guid>
		<description><![CDATA[Shell scripts are text files; subsequently one must use a text editor to produce them (not a word processor!) and then make the file executable so that it can be run. All Bash scripts contain a first line in one &#8230; <a href="http://alonzofretwell.com/blog/creating-a-shell-script/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Shell scripts are text files; subsequently one must use a text editor to produce them (not a word processor!) and then make the file executable so that it can be run. All Bash scripts contain a first line in one of two forms&#8230;</p>
<p><strong>#!/bin/bash</strong><br />
or<br />
<strong>#!/bin/sh</strong></p>
<p>The <strong>#! </strong> tells the shell that the file contains executable commands and the path that follows tells the shell which program to run the commands with. The program used to run the script can be PERL, SED, AWK, another language or another shell.</p>
<p>The first option indicates that the shell is to use the Bash program itself (<strong>/bin/bash</strong>) to execute the script. The second option indicates the script is to be executed by (<strong>/bin/sh</strong>) which is a symbolic link to bash for backwards compatibility with older scripts. <strong>sh</strong> is the name of the old Bourne shell which Bash has replaced. Bash can run any Bourne script and many people still use <strong>/bin/sh</strong> to begin their scripts.</p>
<p>Example&#8230;<br />
Write a Bash script that outputs the text &#8220;<strong>Hello world</strong>&#8221; to stdout&#8230;<br />
<span style="text-decoration: underline;"> Step 1.</span> Create a new text document using a text editor and add the following lines&#8230;<br />
<strong>#!/bin/bash</strong><br />
<strong>echo Hello world</strong><br />
then save the file as <strong>hello</strong>.<br />
<span style="text-decoration: underline;"> Step 2.</span> Using <strong>chmod</strong> change the permissions on the file to make it executable&#8230;<br />
$ <strong>chmod a+x hello</strong> &lt;Enter&gt;</p>


<div class="shr-bookmarks shr-bookmarks-expand">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://alonzofretwell.com/blog/creating-a-shell-script/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script&amp;desc=Shell%20scripts%20are%20text%20files%3B%20subsequently%20one%20must%20use%20a%20text%20editor%20to%20produce%20them%20%28not%20a%20word%20processor%21%29%20and%20then%20make%20the%20file%20executable%20so%20that%20it%20can%20be%20run.%20All%20Bash%20scripts%20contain%20a%20first%20line%20in%20one%20of%20two%20forms...%0D%0A%0D%0A%23%21%2Fbin%2Fbash%0D%0Aor%0D%0A%23%21%2Fbin%2Fsh%0D%0A%0D%0AThe%20%23%21%20%20tells%20the%20shell%20that%20the%20file%20c" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;bm_description=Creating+A+Shell+Script&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://alonzofretwell.com/blog/creating-a-shell-script/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Creating+A+Shell+Script+-+http://b2l.me/4rgbz&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-100zakladok">
			<a href="http://www.100zakladok.ru/save/?bmurl=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;bmtitle=Creating+A+Shell+Script" rel="nofollow" class="external" title="Add this to 100 bookmarks">Add this to 100 bookmarks</a>
		</li>
		<li class="shr-bebo">
			<a href="http://www.bebo.com/c/share?Url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;Title=Creating+A+Shell+Script" rel="nofollow" class="external" title="Share this on Bebo">Share this on Bebo</a>
		</li>
		<li class="shr-bitacoras">
			<a href="http://bitacoras.com/anotaciones/http://alonzofretwell.com/blog/creating-a-shell-script/" rel="nofollow" class="external" title="Submit this to Bitacoras">Submit this to Bitacoras</a>
		</li>
		<li class="shr-blinklist">
			<a href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;Title=Creating+A+Shell+Script" rel="nofollow" class="external" title="Share this on Blinklist">Share this on Blinklist</a>
		</li>
		<li class="shr-blogengage">
			<a href="http://www.blogengage.com/submit.php?url=http://alonzofretwell.com/blog/creating-a-shell-script/" rel="nofollow" class="external" title="Engage with this article!">Engage with this article!</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;n=Creating+A+Shell+Script&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-blogmarks">
			<a href="http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script" rel="nofollow" class="external" title="Mark this on BlogMarks">Mark this on BlogMarks</a>
		</li>
		<li class="shr-bobrdobr">
			<a href="http://bobrdobr.ru/addext.html?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script" rel="nofollow" class="external" title="Share this on BobrDobr">Share this on BobrDobr</a>
		</li>
		<li class="shr-bonzobox">
			<a href="http://bonzobox.com/toolbar/add?pop=1&amp;u=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;t=Creating+A+Shell+Script&amp;d=Shell%20scripts%20are%20text%20files%3B%20subsequently%20one%20must%20use%20a%20text%20editor%20to%20produce%20them%20%28not%20a%20word%20processor%21%29%20and%20then%20make%20the%20file%20executable%20so%20that%20it%20can%20be%20run.%20All%20Bash%20scripts%20contain%20a%20first%20line%20in%20one%20of%20two%20forms...%0D%0A%0D%0A%23%21%2Fbin%2Fbash%0D%0Aor%0D%0A%23%21%2Fbin%2Fsh%0D%0A%0D%0AThe%20%23%21%20%20tells%20the%20shell%20that%20the%20file%20c" rel="nofollow" class="external" title="Add this to BonzoBox">Add this to BonzoBox</a>
		</li>
		<li class="shr-boxnet">
			<a href="" rel="nofollow" class="external" title=""></a>
		</li>
		<li class="shr-buzzster">
			<a href="" rel="nofollow" title=""></a>
		</li>
		<li class="shr-current">
			<a href="http://current.com/clipper.htm?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script" rel="nofollow" class="external" title="Post this to Current">Post this to Current</a>
		</li>
		<li class="shr-designbump">
			<a href="http://designbump.com/submit?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script&amp;body=Shell%20scripts%20are%20text%20files%3B%20subsequently%20one%20must%20use%20a%20text%20editor%20to%20produce%20them%20%28not%20a%20word%20processor%21%29%20and%20then%20make%20the%20file%20executable%20so%20that%20it%20can%20be%20run.%20All%20Bash%20scripts%20contain%20a%20first%20line%20in%20one%20of%20two%20forms...%0D%0A%0D%0A%23%21%2Fbin%2Fbash%0D%0Aor%0D%0A%23%21%2Fbin%2Fsh%0D%0A%0D%0AThe%20%23%21%20%20tells%20the%20shell%20that%20the%20file%20c" rel="nofollow" class="external" title="Bump this on DesignBump">Bump this on DesignBump</a>
		</li>
		<li class="shr-designfloat">
			<a href="http://www.designfloat.com/submit.php?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script" rel="nofollow" class="external" title="Submit this to DesignFloat">Submit this to DesignFloat</a>
		</li>
		<li class="shr-dzone">
			<a href="http://www.dzone.com/links/add.html?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script&amp;description=Shell%20scripts%20are%20text%20files%3B%20subsequently%20one%20must%20use%20a%20text%20editor%20to%20produce%20them%20%28not%20a%20word%20processor%21%29%20and%20then%20make%20the%20file%20executable%20so%20that%20it%20can%20be%20run.%20All%20Bash%20scripts%20contain%20a%20first%20line%20in%20one%20of%20two%20forms...%0D%0A%0D%0A%23%21%2Fbin%2Fbash%0D%0Aor%0D%0A%23%21%2Fbin%2Fsh%0D%0A%0D%0AThe%20%23%21%20%20tells%20the%20shell%20that%20the%20file%20c" rel="nofollow" class="external" title="Add this to DZone">Add this to DZone</a>
		</li>
		<li class="shr-ekudos">
			<a href="http://www.ekudos.nl/artikel/nieuw?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script&amp;desc=Shell%20scripts%20are%20text%20files%3B%20subsequently%20one%20must%20use%20a%20text%20editor%20to%20produce%20them%20%28not%20a%20word%20processor%21%29%20and%20then%20make%20the%20file%20executable%20so%20that%20it%20can%20be%20run.%20All%20Bash%20scripts%20contain%20a%20first%20line%20in%20one%20of%20two%20forms...%0D%0A%0D%0A%23%21%2Fbin%2Fbash%0D%0Aor%0D%0A%23%21%2Fbin%2Fsh%0D%0A%0D%0AThe%20%23%21%20%20tells%20the%20shell%20that%20the%20file%20c" rel="nofollow" class="external" title="Submit this to eKudos">Submit this to eKudos</a>
		</li>
		<li class="shr-evernote">
			<a href="http://www.evernote.com/clip.action?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script" rel="nofollow" class="external" title="Clip this to Evernote">Clip this to Evernote</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;t=Creating+A+Shell+Script" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-faqpal">
			<a href="http://www.faqpal.com/submit?url=http://alonzofretwell.com/blog/creating-a-shell-script/" rel="nofollow" class="external" title="Submit this to FAQpal">Submit this to FAQpal</a>
		</li>
		<li class="shr-fleck">
			<a href="" rel="nofollow" class="external" title=""></a>
		</li>
		<li class="shr-friendfeed">
			<a href="http://www.friendfeed.com/share?title=Creating+A+Shell+Script&amp;link=http://alonzofretwell.com/blog/creating-a-shell-script/" rel="nofollow" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="shr-fwisp">
			<a href="http://fwisp.com/submit?url=http://alonzofretwell.com/blog/creating-a-shell-script/" rel="nofollow" class="external" title="Share this on Fwisp">Share this on Fwisp</a>
		</li>
		<li class="shr-globalgrind">
			<a href="http://globalgrind.com/submission/submit.aspx?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;type=Article&amp;title=Creating+A+Shell+Script" rel="nofollow" class="external" title="Grind this! on Global Grind">Grind this! on Global Grind</a>
		</li>
		<li class="shr-gmail">
			<a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=Creating+A+Shell+Script&amp;body=Link: http://alonzofretwell.com/blog/creating-a-shell-script/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Shell%20scripts%20are%20text%20files%3B%20subsequently%20one%20must%20use%20a%20text%20editor%20to%20produce%20them%20%28not%20a%20word%20processor%21%29%20and%20then%20make%20the%20file%20executable%20so%20that%20it%20can%20be%20run.%20All%20Bash%20scripts%20contain%20a%20first%20line%20in%20one%20of%20two%20forms...%0D%0A%0D%0A%23%21%2Fbin%2Fbash%0D%0Aor%0D%0A%23%21%2Fbin%2Fsh%0D%0A%0D%0AThe%20%23%21%20%20tells%20the%20shell%20that%20the%20file%20c" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-googlereader">
			<a href="http://www.google.com/reader/link?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script&amp;srcUrl=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;srcTitle=Creating+A+Shell+Script&amp;snippet=Shell%20scripts%20are%20text%20files%3B%20subsequently%20one%20must%20use%20a%20text%20editor%20to%20produce%20them%20%28not%20a%20word%20processor%21%29%20and%20then%20make%20the%20file%20executable%20so%20that%20it%20can%20be%20run.%20All%20Bash%20scripts%20contain%20a%20first%20line%20in%20one%20of%20two%20forms...%0D%0A%0D%0A%23%21%2Fbin%2Fbash%0D%0Aor%0D%0A%23%21%2Fbin%2Fsh%0D%0A%0D%0AThe%20%23%21%20%20tells%20the%20shell%20that%20the%20file%20c" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a>
		</li>
		<li class="shr-hackernews">
			<a href="http://news.ycombinator.com/submitlink?u=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;t=Creating+A+Shell+Script" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a>
		</li>
		<li class="shr-hatena">
			<a href="http://b.hatena.ne.jp/add?mode=confirm&amp;url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script" rel="nofollow" class="external" title="Bookmarks this on Hatena Bookmarks">Bookmarks this on Hatena Bookmarks</a>
		</li>
		<li class="shr-hotmail">
			<a href="http://mail.live.com/?rru=compose?subject=Creating+A+Shell+Script&amp;body=Link: http://alonzofretwell.com/blog/creating-a-shell-script/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Shell%20scripts%20are%20text%20files%3B%20subsequently%20one%20must%20use%20a%20text%20editor%20to%20produce%20them%20%28not%20a%20word%20processor%21%29%20and%20then%20make%20the%20file%20executable%20so%20that%20it%20can%20be%20run.%20All%20Bash%20scripts%20contain%20a%20first%20line%20in%20one%20of%20two%20forms...%0D%0A%0D%0A%23%21%2Fbin%2Fbash%0D%0Aor%0D%0A%23%21%2Fbin%2Fsh%0D%0A%0D%0AThe%20%23%21%20%20tells%20the%20shell%20that%20the%20file%20c" rel="nofollow" class="external" title="Email this via Hotmail">Email this via Hotmail</a>
		</li>
		<li class="shr-hyves">
			<a href="http://www.hyves.nl/profilemanage/add/tips/?name=Creating+A+Shell+Script&amp;text=Shell%20scripts%20are%20text%20files%3B%20subsequently%20one%20must%20use%20a%20text%20editor%20to%20produce%20them%20%28not%20a%20word%20processor%21%29%20and%20then%20make%20the%20file%20executable%20so%20that%20it%20can%20be%20run.%20All%20Bash%20scripts%20contain%20a%20first%20line%20in%20one%20of%20two%20forms...%0D%0A%0D%0A%23%21%2Fbin%2Fbash%0D%0Aor%0D%0A%23%21%2Fbin%2Fsh%0D%0A%0D%0AThe%20%23%21%20%20tells%20the%20shell%20that%20the%20file%20c+-+http://alonzofretwell.com/blog/creating-a-shell-script/&amp;rating=5" rel="nofollow" class="external" title="Share this on Hyves">Share this on Hyves</a>
		</li>
		<li class="shr-identica">
			<a href="http://identi.ca//index.php?action=newnotice&amp;status_textarea=Reading:+&quot;Creating+A+Shell+Script&quot;+-+from+http://b2l.me/4rgbz" rel="nofollow" class="external" title="Post this to Identica">Post this to Identica</a>
		</li>
		<li class="shr-izeby">
			<a href="http://izeby.com/submit.php?url=http://alonzofretwell.com/blog/creating-a-shell-script/" rel="nofollow" class="external" title="Add this to Izeby">Add this to Izeby</a>
		</li>
		<li class="shr-jumptags">
			<a href="http://www.jumptags.com/add/?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script" rel="nofollow" class="external" title="Submit this link to JumpTags">Submit this link to JumpTags</a>
		</li>
		<li class="shr-kaevur">
			<a href="http://kaevur.com/submit.php?url=http://alonzofretwell.com/blog/creating-a-shell-script/" rel="nofollow" class="external" title="Share this on Kaevur">Share this on Kaevur</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script&amp;summary=Shell%20scripts%20are%20text%20files%3B%20subsequently%20one%20must%20use%20a%20text%20editor%20to%20produce%20them%20%28not%20a%20word%20processor%21%29%20and%20then%20make%20the%20file%20executable%20so%20that%20it%20can%20be%20run.%20All%20Bash%20scripts%20contain%20a%20first%20line%20in%20one%20of%20two%20forms...%0D%0A%0D%0A%23%21%2Fbin%2Fbash%0D%0Aor%0D%0A%23%21%2Fbin%2Fsh%0D%0A%0D%0AThe%20%23%21%20%20tells%20the%20shell%20that%20the%20file%20c&amp;source=Alonzo Fretwell" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22Creating%20A%20Shell%20Script%22&amp;body=Link: http://alonzofretwell.com/blog/creating-a-shell-script/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Shell%20scripts%20are%20text%20files%3B%20subsequently%20one%20must%20use%20a%20text%20editor%20to%20produce%20them%20%28not%20a%20word%20processor%21%29%20and%20then%20make%20the%20file%20executable%20so%20that%20it%20can%20be%20run.%20All%20Bash%20scripts%20contain%20a%20first%20line%20in%20one%20of%20two%20forms...%0D%0A%0D%0A%23%21%2Fbin%2Fbash%0D%0Aor%0D%0A%23%21%2Fbin%2Fsh%0D%0A%0D%0AThe%20%23%21%20%20tells%20the%20shell%20that%20the%20file%20c" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
		<li class="shr-memoryru">
			<a href="http://memori.ru/link/?sm=1&amp;u_data[url]=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;u_data[name]=Creating+A+Shell+Script" rel="nofollow" class="external" title="Add this to Memory.ru">Add this to Memory.ru</a>
		</li>
		<li class="shr-meneame">
			<a href="http://meneame.net/submit.php?url=http://alonzofretwell.com/blog/creating-a-shell-script/" rel="nofollow" class="external" title="Submit this to Meneame">Submit this to Meneame</a>
		</li>
		<li class="shr-moemesto">
			<a href="http://moemesto.ru/post.php?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script" rel="nofollow" class="external" title="Add this to MyPlace">Add this to MyPlace</a>
		</li>
		<li class="shr-mylinkvault">
			<a href="http://www.mylinkvault.com/link-page.php?u=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;n=Creating+A+Shell+Script" rel="nofollow" class="external" title="Store this link on MyLinkVault">Store this link on MyLinkVault</a>
		</li>
		<li class="shr-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;t=Creating+A+Shell+Script" rel="nofollow" class="external" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="shr-n4g">
			<a href="http://www.n4g.com/tips.aspx?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script" rel="nofollow" class="external" title="Submit tip to N4G">Submit tip to N4G</a>
		</li>
		<li class="shr-netvibes">
			<a href="http://www.netvibes.com/share?title=Creating+A+Shell+Script&amp;url=http://alonzofretwell.com/blog/creating-a-shell-script/" rel="nofollow" class="external" title="Submit this to Netvibes">Submit this to Netvibes</a>
		</li>
		<li class="shr-netvouz">
			<a href="http://www.netvouz.com/action/submitBookmark?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script&amp;popup=no" rel="nofollow" class="external" title="Submit this to Netvouz">Submit this to Netvouz</a>
		</li>
		<li class="shr-newsvine">
			<a href="http://www.newsvine.com/_tools/seed&amp;save?u=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;h=Creating+A+Shell+Script" rel="nofollow" class="external" title="Seed this on Newsvine">Seed this on Newsvine</a>
		</li>
		<li class="shr-ning">
			<a href="http://bookmarks.ning.com/addItem.php?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;T=Creating+A+Shell+Script" rel="nofollow" class="external" title="Add this to Ning">Add this to Ning</a>
		</li>
		<li class="shr-nujij">
			<a href="http://nujij.nl/jij.lynkx?t=Creating+A+Shell+Script&amp;u=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;b=Shell%20scripts%20are%20text%20files%3B%20subsequently%20one%20must%20use%20a%20text%20editor%20to%20produce%20them%20%28not%20a%20word%20processor%21%29%20and%20then%20make%20the%20file%20executable%20so%20that%20it%20can%20be%20run.%20All%20Bash%20scripts%20contain%20a%20first%20line%20in%20one%20of%20two%20forms...%0D%0A%0D%0A%23%21%2Fbin%2Fbash%0D%0Aor%0D%0A%23%21%2Fbin%2Fsh%0D%0A%0D%0AThe%20%23%21%20%20tells%20the%20shell%20that%20the%20file%20c" rel="nofollow" class="external" title="Submit this to NUjij">Submit this to NUjij</a>
		</li>
		<li class="shr-oknotizie">
			<a href="http://oknotizie.virgilio.it/post?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script" rel="nofollow" class="external" title="Share this on OkNotizie">Share this on OkNotizie</a>
		</li>
		<li class="shr-orkut">
			<a href="http://promote.orkut.com/preview?nt=orkut.com&amp;tt=Creating+A+Shell+Script&amp;du=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;cn=Shell%20scripts%20are%20text%20files%3B%20subsequently%20one%20must%20use%20a%20text%20editor%20to%20produce%20them%20%28not%20a%20word%20processor%21%29%20and%20then%20make%20the%20file%20executable%20so%20that%20it%20can%20be%20run.%20All%20Bash%20scripts%20contain%20a%20first%20line%20in%20one%20of%20two%20forms...%0D%0A%0D%0A%23%21%2Fbin%2Fbash%0D%0Aor%0D%0A%23%21%2Fbin%2Fsh%0D%0A%0D%0AThe%20%23%21%20%20tells%20the%20shell%20that%20the%20file%20c" rel="nofollow" class="external" title="Promote this on Orkut">Promote this on Orkut</a>
		</li>
		<li class="shr-pfbuzz">
			<a href="http://pfbuzz.com/submit?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script" rel="nofollow" class="external" title="Share this on PFBuzz">Share this on PFBuzz</a>
		</li>
		<li class="shr-pingfm">
			<a href="http://ping.fm/ref/?link=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script&amp;body=Shell%20scripts%20are%20text%20files%3B%20subsequently%20one%20must%20use%20a%20text%20editor%20to%20produce%20them%20%28not%20a%20word%20processor%21%29%20and%20then%20make%20the%20file%20executable%20so%20that%20it%20can%20be%20run.%20All%20Bash%20scripts%20contain%20a%20first%20line%20in%20one%20of%20two%20forms...%0D%0A%0D%0A%23%21%2Fbin%2Fbash%0D%0Aor%0D%0A%23%21%2Fbin%2Fsh%0D%0A%0D%0AThe%20%23%21%20%20tells%20the%20shell%20that%20the%20file%20c" rel="nofollow" class="external" title="Ping this on Ping.fm">Ping this on Ping.fm</a>
		</li>
		<li class="shr-plaxo">
			<a href="http://www.plaxo.com/?share_link=http://alonzofretwell.com/blog/creating-a-shell-script/" rel="nofollow" class="external" title="Share this on Plaxo">Share this on Plaxo</a>
		</li>
		<li class="shr-plurk">
			<a href="http://www.plurk.com/m?content=Creating+A+Shell+Script+-+http://alonzofretwell.com/blog/creating-a-shell-script/&amp;qualifier=shares" rel="nofollow" class="external" title="Share this on Plurk">Share this on Plurk</a>
		</li>
		<li class="shr-posterous">
			<a href="http://posterous.com/share?linkto=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script&amp;selection=Shell%20scripts%20are%20text%20files%3B%20subsequently%20one%20must%20use%20a%20text%20editor%20to%20produce%20them%20%28not%20a%20word%20processor%21%29%20and%20then%20make%20the%20file%20executable%20so%20that%20it%20can%20be%20run.%20All%20Bash%20scripts%20contain%20a%20first%20line%20in%20one%20of%20two%20forms...%0D%0A%0D%0A%23%21%2Fbin%2Fbash%0D%0Aor%0D%0A%23%21%2Fbin%2Fsh%0D%0A%0D%0AThe%20%23%21%20%20tells%20the%20shell%20that%20the%20file%20c" rel="nofollow" class="external" title="Post this to Posterous">Post this to Posterous</a>
		</li>
		<li class="shr-printfriendly">
			<a href="http://www.printfriendly.com/print?url=http://alonzofretwell.com/blog/creating-a-shell-script/" rel="nofollow" class="external" title="Send this page to Print Friendly">Send this page to Print Friendly</a>
		</li>
		<li class="shr-propeller">
			<a href="http://www.propeller.com/submit/?url=http://alonzofretwell.com/blog/creating-a-shell-script/" rel="nofollow" class="external" title="Submit this story to Propeller">Submit this story to Propeller</a>
		</li>
		<li class="shr-pusha">
			<a href="http://www.pusha.se/posta?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script" rel="nofollow" class="external" title="Push this on Pusha">Push this on Pusha</a>
		</li>
		<li class="shr-scriptstyle">
			<a href="http://scriptandstyle.com/submit?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script" rel="nofollow" class="external" title="Submit this to Script &amp; Style">Submit this to Script &amp; Style</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-sphinn">
			<a href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http://alonzofretwell.com/blog/creating-a-shell-script/" rel="nofollow" class="external" title="Sphinn this on Sphinn">Sphinn this on Sphinn</a>
		</li>
		<li class="shr-springpad">
			<a href="http://springpadit.com/clip.action?body=Shell%20scripts%20are%20text%20files%3B%20subsequently%20one%20must%20use%20a%20text%20editor%20to%20produce%20them%20%28not%20a%20word%20processor%21%29%20and%20then%20make%20the%20file%20executable%20so%20that%20it%20can%20be%20run.%20All%20Bash%20scripts%20contain%20a%20first%20line%20in%20one%20of%20two%20forms...%0D%0A%0D%0A%23%21%2Fbin%2Fbash%0D%0Aor%0D%0A%23%21%2Fbin%2Fsh%0D%0A%0D%0AThe%20%23%21%20%20tells%20the%20shell%20that%20the%20file%20c&amp;url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;format=microclip&amp;title=Creating+A+Shell+Script&amp;isSelected=true" rel="nofollow" class="external" title="Spring this on SpringPad">Spring this on SpringPad</a>
		</li>
		<li class="shr-squidoo">
			<a href="http://www.squidoo.com/lensmaster/bookmark?http://alonzofretwell.com/blog/creating-a-shell-script/" rel="nofollow" class="external" title="Add to a lense on Squidoo">Add to a lense on Squidoo</a>
		</li>
		<li class="shr-strands">
			<a href="http://www.strands.com/tools/share/webpage?title=Creating+A+Shell+Script&amp;url=http://alonzofretwell.com/blog/creating-a-shell-script/" rel="nofollow" class="external" title="Submit this to Strands">Submit this to Strands</a>
		</li>
		<li class="shr-stumpedia">
			<a href="http://www.stumpedia.com/submit?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script" rel="nofollow" class="external" title="Add this to Stumpedia">Add this to Stumpedia</a>
		</li>
		<li class="shr-techmeme">
			<a href="http://twitter.com/home/?status=Tip+@Techmeme+http://alonzofretwell.com/blog/creating-a-shell-script/+&quot;Creating+A+Shell+Script&quot;&amp;source=shareaholic" rel="nofollow" class="external" title="Tip this to TechMeme">Tip this to TechMeme</a>
		</li>
		<li class="shr-tipd">
			<a href="http://tipd.com/submit.php?url=http://alonzofretwell.com/blog/creating-a-shell-script/" rel="nofollow" class="external" title="Share this on Tipd">Share this on Tipd</a>
		</li>
		<li class="shr-tomuse">
			<a href="mailto:tips@tomuse.com?subject=New+tip+submitted+via+the+SexyBookmarks+Plugin%21&amp;body=Link: http://alonzofretwell.com/blog/creating-a-shell-script/ %0D%0A%0D%0A Shell%20scripts%20are%20text%20files%3B%20subsequently%20one%20must%20use%20a%20text%20editor%20to%20produce%20them%20%28not%20a%20word%20processor%21%29%20and%20then%20make%20the%20file%20executable%20so%20that%20it%20can%20be%20run.%20All%20Bash%20scripts%20contain%20a%20first%20line%20in%20one%20of%20two%20forms...%0D%0A%0D%0A%23%21%2Fbin%2Fbash%0D%0Aor%0D%0A%23%21%2Fbin%2Fsh%0D%0A%0D%0AThe%20%23%21%20%20tells%20the%20shell%20that%20the%20file%20c" rel="nofollow" class="external" title="Suggest this article to ToMuse">Suggest this article to ToMuse</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Falonzofretwell.com%2Fblog%2Fcreating-a-shell-script%2F&amp;t=Creating+A+Shell+Script" rel="nofollow" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="shr-twittley">
			<a href="http://twittley.com/submit/?title=Creating+A+Shell+Script&amp;url=http%3A%2F%2Falonzofretwell.com%2Fblog%2Fcreating-a-shell-script%2F&amp;desc=Shell%20scripts%20are%20text%20files%3B%20subsequently%20one%20must%20use%20a%20text%20editor%20to%20produce%20them%20%28not%20a%20word%20processor%21%29%20and%20then%20make%20the%20file%20executable%20so%20that%20it%20can%20be%20run.%20All%20Bash%20scripts%20contain%20a%20first%20line%20in%20one%20of%20two%20forms...%0D%0A%0D%0A%23%21%2Fbin%2Fbash%0D%0Aor%0D%0A%23%21%2Fbin%2Fsh%0D%0A%0D%0AThe%20%23%21%20%20tells%20the%20shell%20that%20the%20file%20c&amp;pcat=Technology&amp;tags=" rel="nofollow" class="external" title="Submit this to Twittley">Submit this to Twittley</a>
		</li>
		<li class="shr-viadeo">
			<a href="http://www.viadeo.com/shareit/share/?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script&amp;urlaffiliate=31138" rel="nofollow" class="external" title="Share this on Viadeo">Share this on Viadeo</a>
		</li>
		<li class="shr-virb">
			<a href="http://virb.com/share?external&amp;v=2&amp;url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script" rel="nofollow" class="external" title="Share this on Virb">Share this on Virb</a>
		</li>
		<li class="shr-webblend">
			<a href="http://thewebblend.com/submit?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script&amp;body=Shell%20scripts%20are%20text%20files%3B%20subsequently%20one%20must%20use%20a%20text%20editor%20to%20produce%20them%20%28not%20a%20word%20processor%21%29%20and%20then%20make%20the%20file%20executable%20so%20that%20it%20can%20be%20run.%20All%20Bash%20scripts%20contain%20a%20first%20line%20in%20one%20of%20two%20forms...%0D%0A%0D%0A%23%21%2Fbin%2Fbash%0D%0Aor%0D%0A%23%21%2Fbin%2Fsh%0D%0A%0D%0AThe%20%23%21%20%20tells%20the%20shell%20that%20the%20file%20c" rel="nofollow" class="external" title="Blend this!">Blend this!</a>
		</li>
		<li class="shr-wikio">
			<a href="" rel="nofollow" class="external" title=""></a>
		</li>
		<li class="shr-wykop">
			<a href="http://www.wykop.pl/dodaj?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script" rel="nofollow" class="external" title="Add this to Wykop!">Add this to Wykop!</a>
		</li>
		<li class="shr-xerpi">
			<a href="http://www.xerpi.com/block/add_link_from_extension?url=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;title=Creating+A+Shell+Script" rel="nofollow" class="external" title="Save this to Xerpi">Save this to Xerpi</a>
		</li>
		<li class="shr-yahoobuzz">
			<a href="http://buzz.yahoo.com/submit/?submitUrl=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;submitHeadline=Creating+A+Shell+Script&amp;submitSummary=Shell%20scripts%20are%20text%20files%3B%20subsequently%20one%20must%20use%20a%20text%20editor%20to%20produce%20them%20%28not%20a%20word%20processor%21%29%20and%20then%20make%20the%20file%20executable%20so%20that%20it%20can%20be%20run.%20All%20Bash%20scripts%20contain%20a%20first%20line%20in%20one%20of%20two%20forms...%0D%0A%0D%0A%23%21%2Fbin%2Fbash%0D%0Aor%0D%0A%23%21%2Fbin%2Fsh%0D%0A%0D%0AThe%20%23%21%20%20tells%20the%20shell%20that%20the%20file%20c&amp;submitCategory=science&amp;submitAssetType=text" rel="nofollow" class="external" title="Buzz up!">Buzz up!</a>
		</li>
		<li class="shr-yahoomail">
			<a href="http://compose.mail.yahoo.com/?Subject=Creating+A+Shell+Script&amp;body=Link: http://alonzofretwell.com/blog/creating-a-shell-script/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Shell%20scripts%20are%20text%20files%3B%20subsequently%20one%20must%20use%20a%20text%20editor%20to%20produce%20them%20%28not%20a%20word%20processor%21%29%20and%20then%20make%20the%20file%20executable%20so%20that%20it%20can%20be%20run.%20All%20Bash%20scripts%20contain%20a%20first%20line%20in%20one%20of%20two%20forms...%0D%0A%0D%0A%23%21%2Fbin%2Fbash%0D%0Aor%0D%0A%23%21%2Fbin%2Fsh%0D%0A%0D%0AThe%20%23%21%20%20tells%20the%20shell%20that%20the%20file%20c" rel="nofollow" class="external" title="Email this via Yahoo! Mail">Email this via Yahoo! Mail</a>
		</li>
		<li class="shr-yandex">
			<a href="http://zakladki.yandex.ru/userarea/links/addfromfav.asp?bAddLink_x=1&amp;lurl=http://alonzofretwell.com/blog/creating-a-shell-script/&amp;lname=Creating+A+Shell+Script" rel="nofollow" class="external" title="Add this to Yandex.Bookmarks">Add this to Yandex.Bookmarks</a>
		</li>
		<li class="shr-zabox">
			<a href="http://www.zabox.net/submit.php?url=http://alonzofretwell.com/blog/creating-a-shell-script/" rel="nofollow" class="external" title="Box this on Zabox">Box this on Zabox</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://alonzofretwell.com/blog/creating-a-shell-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

