<?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>kwatog &#38; co.&#187; Linux</title>
	<atom:link href="http://kwatog.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://kwatog.com</link>
	<description>tech notes and general nonsense</description>
	<lastBuildDate>Tue, 31 Jan 2012 06:27:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Recursive setacl command on Linux/Unix</title>
		<link>http://kwatog.com/blog/recursive-setacl-command-on-linuxunix/</link>
		<comments>http://kwatog.com/blog/recursive-setacl-command-on-linuxunix/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 09:45:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[recursive]]></category>
		<category><![CDATA[setacl]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">http://kwatog.com/?p=591</guid>
		<description><![CDATA[Setting access control list(acl) recursively is not as straigthforward in HP/UX. I believe the same is true for other Unix flavors. In case you are wondering how, the command is shown below. find /any/path -exec setacl -m user:USERID:rwx {} ';' What it does is it finds all the files and directories inside the /any/path, recursively. [...]]]></description>
			<content:encoded><![CDATA[<p>Setting <strong>access control list(acl) </strong>recursively is not as straigthforward in HP/UX. I believe the same is true for other Unix flavors. In case you are wondering how, the command is shown below.<br />
<span id="more-591"></span><br />
<code><br />
find /any/path -exec setacl -m user:USERID:rwx {} ';'<br />
</code></p>
<p>What it does is it finds all the files and directories inside the /any/path, recursively. And then on each of the files/directories, it executes the the setacl command. </p>
<p>For some linux flavors, this is done simpler as below.<br />
<code><br />
setacl -Rm user:USERID:rwx<br />
</code></p>
<p>Here&#8217;s how to install setacl/setfacl &#8211;><a href="http://kwatog.com/blog/how-to-install-setacl-in-linux/">Install setacl</a></p>
<h4>Incoming search terms:</h4><ul><li>setacl linux</li><li>linux install command recursive</li><li>setacl recursive</li><li>SetACL</li><li>kwatog setfacl</li><li>setacl recursive in hp-ux</li><li>setacl kwatog</li><li>setacl hp-ux file</li><li>setacl en linux que es?</li><li>setacl command in unix</li></ul>]]></content:encoded>
			<wfw:commentRss>http://kwatog.com/blog/recursive-setacl-command-on-linuxunix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change Ownership of File/Folder (chown)</title>
		<link>http://kwatog.com/blog/linux/change-ownership-of-filefolder-chown/</link>
		<comments>http://kwatog.com/blog/linux/change-ownership-of-filefolder-chown/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 17:25:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[change ownership]]></category>
		<category><![CDATA[chown]]></category>
		<guid isPermaLink="false">http://kwatog.com/?p=115</guid>
		<description><![CDATA[chown kwatog /usr/kwatog]]></description>
			<content:encoded><![CDATA[<p><code>chown kwatog /usr/kwatog</code></p>
]]></content:encoded>
			<wfw:commentRss>http://kwatog.com/blog/linux/change-ownership-of-filefolder-chown/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Search and Replace in File</title>
		<link>http://kwatog.com/blog/linux/linux-search-and-replace-in-file/</link>
		<comments>http://kwatog.com/blog/linux/linux-search-and-replace-in-file/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 05:16:32 +0000</pubDate>
		<dc:creator>kwatog</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[replace]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[sed]]></category>
		<guid isPermaLink="false">http://kwatog.com/?p=85</guid>
		<description><![CDATA[Here&#8217;s the syntax sed 's/SEARCH_TEXT/REPLACE_TEXT/g' FILENAME > OUTFILE SEARCH_TEXT is the text to search in filename REPLACE TEXT is the string to be put in place of SEARCH_TEXT FILENAME is the file to be searched OUTFILE is the file where the output Sample sed 's/ORDER/VANTIVE_ORDER/g' kwatogtest.sql > kwatogsed.log I keep on forgetting that syntax although [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s the syntax</p>
<p><code><br />
sed 's/SEARCH_TEXT/REPLACE_TEXT/g' FILENAME > OUTFILE</code><br />
SEARCH_TEXT is the text to search in filename<br />
REPLACE TEXT is the string to be put in place of SEARCH_TEXT<br />
FILENAME is the file to be searched<br />
OUTFILE is the file where the output</p>
<p>Sample<br />
<code><br />
sed 's/ORDER/VANTIVE_ORDER/g' kwatogtest.sql > kwatogsed.log<br />
</code></p>
<p>I keep on forgetting that syntax although it&#8217;s so simple. There might other ways of doing it but as of now, it&#8217;s the only way I know. :p</p>
<h4>Incoming search terms:</h4><ul><li>glendale web design</li></ul>]]></content:encoded>
			<wfw:commentRss>http://kwatog.com/blog/linux/linux-search-and-replace-in-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!--
Hyper cache file: 957155c84ac0896c817aee73712d5581
Cache created: 05-02-2012 02:34:29
HCE Version: 0.9.8
Load AVG: 0.08(5)
-->
