<?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>LAMP Tips! &#187; Linux</title>
	<atom:link href="http://lamptips.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://lamptips.com</link>
	<description>Tips, tricks and (good) hacks</description>
	<lastBuildDate>Tue, 12 May 2009 22:04:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Smart Relay Configuration in Postfix</title>
		<link>http://lamptips.com/2009/01/smart-relay-configuration-in-postfix/</link>
		<comments>http://lamptips.com/2009/01/smart-relay-configuration-in-postfix/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 23:02:25 +0000</pubDate>
		<dc:creator>Geoff W.</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Postfix]]></category>
		<category><![CDATA[Smart Relay]]></category>

		<guid isPermaLink="false">http://lamptips.com/?p=22</guid>
		<description><![CDATA[To enable a Smart Relay host in Postfix, simply:
Edit /etc/postfix/main.cf

Search for 'relayhost'
Add your host (with some caveats):
If the Host is an IPAddress:
relayhost = [10.0.0.1]
If the host has a name:
relayhost = domain.tld
If the host runs on an alternative port:
relayhost = [10.0.0.1]:28
or:
relayhost = domain.tld:28
]]></description>
			<content:encoded><![CDATA[<p>To enable a Smart Relay host in Postfix, simply:</p>
<p>Edit /etc/postfix/main.cf<br />
<span id="more-22"></span><br />
Search for 'relayhost'</p>
<p>Add your host (with some caveats):</p>
<p>If the Host is an IPAddress:</p>
<p>relayhost = [10.0.0.1]</p>
<p>If the host has a name:</p>
<p>relayhost = domain.tld</p>
<p>If the host runs on an alternative port:</p>
<p>relayhost = [10.0.0.1]:28</p>
<p>or:</p>
<p>relayhost = domain.tld:28</p>
]]></content:encoded>
			<wfw:commentRss>http://lamptips.com/2009/01/smart-relay-configuration-in-postfix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Too many arguments with tar</title>
		<link>http://lamptips.com/2008/08/too-many-arguments-with-tar/</link>
		<comments>http://lamptips.com/2008/08/too-many-arguments-with-tar/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 01:20:36 +0000</pubDate>
		<dc:creator>Geoff W.</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ARG_MAX]]></category>
		<category><![CDATA[compress]]></category>
		<category><![CDATA[tar]]></category>
		<category><![CDATA[too many arguments]]></category>

		<guid isPermaLink="false">http://lamptips.com/?p=17</guid>
		<description><![CDATA[Occasionally, when compressing directories with large numbers of files and/or directories contained within them, you will get an error stating: Too many arguments.
This is not an error from the application - rather it is an error from the shell tell you the ARG_MAX limit has been reached. Here is what you can do to avoid/get [...]]]></description>
			<content:encoded><![CDATA[<p>Occasionally, when compressing directories with large numbers of files and/or directories contained within them, you will get an error stating: Too many arguments.</p>
<p>This is not an error from the application - rather it is an error from the shell tell you the ARG_MAX limit has been reached. Here is what you can do to avoid/get around that:</p>
<p><span id="more-17"></span></p>
<p>If you find that you can not compress a directory because it contains to many files, you can do one of two things:</p>
<p>Compress the container directory or:</p>
<p>Generate the file list<br />
<strong>find -iname '*.ext' &gt; file_list.txt</strong></p>
<p>Run tar, passing it the file list<br />
<strong>tar czvf archive.tar.gz --files-from file_list.txt</strong></p>
<p>Shorthand of this would be:<br />
<strong>find . -name '*.ext' -print | tar -cvzf archive.tar.gz --files-from -</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://lamptips.com/2008/08/too-many-arguments-with-tar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linking Files</title>
		<link>http://lamptips.com/2008/04/linking-files/</link>
		<comments>http://lamptips.com/2008/04/linking-files/#comments</comments>
		<pubDate>Fri, 18 Apr 2008 19:07:01 +0000</pubDate>
		<dc:creator>Geoff W.</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux SymLink]]></category>
		<category><![CDATA[Symlinks]]></category>

		<guid isPermaLink="false">http://lamptips.com/?p=8</guid>
		<description><![CDATA[Create a symlink to a file rather than copying it to a new location

The command is formatted as follows:
ln -s existing_file new_file
You can use this to link directories as well.
ln -s /usr/src /usr/local/src
]]></description>
			<content:encoded><![CDATA[<p>Create a symlink to a file rather than copying it to a new location</p>
<p><span id="more-8"></span></p>
<p>The command is formatted as follows:</p>
<p><strong>ln -s existing_file new_file</strong></p>
<p>You can use this to link directories as well.</p>
<p><strong>ln -s /usr/src /usr/local/src</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://lamptips.com/2008/04/linking-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
