<?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>fixlinux.com &#187; Shell</title>
	<atom:link href="http://fixlinux.com/category/shell/feed/" rel="self" type="application/rss+xml" />
	<link>http://fixlinux.com</link>
	<description>security + stability = sanity</description>
	<lastBuildDate>Wed, 07 Dec 2011 04:03:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to Look Like a UNIX Guru</title>
		<link>http://fixlinux.com/2006/02/07/how-to-look-like-a-unix-guru/</link>
		<comments>http://fixlinux.com/2006/02/07/how-to-look-like-a-unix-guru/#comments</comments>
		<pubDate>Tue, 07 Feb 2006 20:55:50 +0000</pubDate>
		<dc:creator>derek</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Shell]]></category>

		<guid isPermaLink="false">http://fixlinux.com/2006/02/07/how-to-look-like-a-unix-guru/</guid>
		<description><![CDATA[http://www.cs.usfca.edu/~parrt/course/601/lectures/unix.util.html Here&#8217;s a very useful set of instructions that every developer that deploys on unix/linux should know. &#8220;If you want to be a serious server developer, you will need to have a certain facility with a number of UNIX tools; about 15. You will start to see similarities among them, particularly regular expressions, and soon [...]]]></description>
			<content:encoded><![CDATA[<p><a title="How to Look Like a UNIX Guru" target="_blank" href="http://www.cs.usfca.edu/~parrt/course/601/lectures/unix.util.html">http://www.cs.usfca.edu/~parrt/course/601/lectures/unix.util.html</a></p>
<p>Here&#8217;s a very useful set of instructions that every developer that deploys on unix/linux should know.</p>
<blockquote><p><em>&#8220;If you want to be a serious server developer, you will need to have a certain facility with a number of UNIX tools; about 15. You will start to see similarities among them, particularly regular expressions, and soon you will feel very comfortable. Combining the simple commands, you can build very powerful tools very quickly&#8211;much faster than you could build the equivalent functionality in C or Java, for example.&#8221;</em></p></blockquote>
<p>My favorite of all the commands mentioned is rsync.  I use it daily to move things around between servers and even on the same machine.  I&#8217;ll discuss rsync and how I use it later.</p>
]]></content:encoded>
			<wfw:commentRss>http://fixlinux.com/2006/02/07/how-to-look-like-a-unix-guru/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tee it up</title>
		<link>http://fixlinux.com/2006/01/26/tee-it-up/</link>
		<comments>http://fixlinux.com/2006/01/26/tee-it-up/#comments</comments>
		<pubDate>Thu, 26 Jan 2006 23:58:47 +0000</pubDate>
		<dc:creator>derek</dc:creator>
				<category><![CDATA[Shell]]></category>

		<guid isPermaLink="false">http://fixlinux.com/2006/01/26/tee-it-up/</guid>
		<description><![CDATA[When writing shell scripts I often need to both run the scripts manually during the day and also have them run via cron at night. I frequently log the output of the shell script to a file to reference later and email the log file. Referred to as a pipe fitting program in its man [...]]]></description>
			<content:encoded><![CDATA[<p>When writing shell scripts I often need to both run the scripts manually during the day and also have them run via cron at night.  I frequently log the output of the shell script to a file to reference later and email the log file.</p>
<p>Referred to as a pipe fitting program in its man page, <strong>tee</strong> will allow you to copy STDIN to STDOUT and display it to both the screen and a file.  I&#8217;ve included a short script as an example:</p>
<pre>#!/bin/sh</pre>
<pre>echo "Hello World!" | tee file.log</pre>
<p>You&#8217;ll find the output Hello World! on both the terminal and in file.log.  You can also tell tee to append to the file with the (-a) option.  Without it you would continually write over the file with the latest output you wanted to log.</p>
<p>It took me a while to discover the tee command but I&#8217;ve been able to put it to great use when writing scripts that I&#8217;ll run both manually and from cron.</p>
]]></content:encoded>
			<wfw:commentRss>http://fixlinux.com/2006/01/26/tee-it-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

