<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.zenerves.net/skins/common/feed.css?301"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
		<id>http://wiki.zenerves.net/index.php?action=history&amp;feed=atom&amp;title=Find</id>
		<title>Find - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.zenerves.net/index.php?action=history&amp;feed=atom&amp;title=Find"/>
		<link rel="alternate" type="text/html" href="http://wiki.zenerves.net/index.php?title=Find&amp;action=history"/>
		<updated>2026-08-03T04:03:11Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.17.0</generator>

	<entry>
		<id>http://wiki.zenerves.net/index.php?title=Find&amp;diff=478&amp;oldid=prev</id>
		<title>Admin at 13:15, 24 March 2016</title>
		<link rel="alternate" type="text/html" href="http://wiki.zenerves.net/index.php?title=Find&amp;diff=478&amp;oldid=prev"/>
				<updated>2016-03-24T13:15:04Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 13:15, 24 March 2016&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;#160; find . -name '*.sho'&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;#160;  &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; find htdocs -name '*.html' -print0 | xargs -0 chmod a+r &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; find htdocs -name '*.html' -print0 | xargs -0 chmod a+r &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>http://wiki.zenerves.net/index.php?title=Find&amp;diff=96&amp;oldid=prev</id>
		<title>Admin: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://wiki.zenerves.net/index.php?title=Find&amp;diff=96&amp;oldid=prev"/>
				<updated>2011-10-14T23:59:10Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 23:59, 14 October 2011&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>http://wiki.zenerves.net/index.php?title=Find&amp;diff=95&amp;oldid=prev</id>
		<title>Lola at 21:20, 14 October 2011</title>
		<link rel="alternate" type="text/html" href="http://wiki.zenerves.net/index.php?title=Find&amp;diff=95&amp;oldid=prev"/>
				<updated>2011-10-14T21:20:19Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Here is an example operation to make all HTML files in the subdirectory htdocs readable by all using find and xargs. This is a typical example of how find and xargs are used with other utilities to provide powerful directory traversal capability.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    find htdocs -name '*.html' -print0 | xargs -0 chmod a+r &lt;br /&gt;
&lt;br /&gt;
Say:&lt;br /&gt;
 &lt;br /&gt;
   find somewhere -name 'thenameyouarelookingfor' &lt;br /&gt;
&lt;br /&gt;
and so on and so on&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following examples illustrate typical uses of the command find for finding files on a computer.&lt;br /&gt;
&lt;br /&gt;
    find / -name game&lt;br /&gt;
&lt;br /&gt;
Looks for a file named &amp;quot;game&amp;quot; starting at the root directory (searching all directories including mounted filesystems). The `-name' option makes the search case sensitive. You can use the `-iname' option to find something regardless of case.&lt;br /&gt;
&lt;br /&gt;
    find /home -user joe&lt;br /&gt;
&lt;br /&gt;
Find every file under the directory /home owned by the user joe.&lt;br /&gt;
&lt;br /&gt;
    find /usr -name *stat&lt;br /&gt;
&lt;br /&gt;
Find every file under the directory /usr ending in &amp;quot;stat&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
    find /var/spool -mtime +60&lt;br /&gt;
&lt;br /&gt;
Find every file under the directory /var/spool that was modified more than 60 days ago.&lt;br /&gt;
&lt;br /&gt;
    find /tmp -name core -type f -print | xargs /bin/rm -f&lt;br /&gt;
&lt;br /&gt;
Find files named core in or below the directory /tmp and delete them. Note that this will work incorrectly if there are any filenames containing newlines, single or double quotes, or spaces.&lt;br /&gt;
&lt;br /&gt;
    find /tmp -name core -type f -print0 | xargs -0 /bin/rm -f&lt;br /&gt;
&lt;br /&gt;
Find files named core in or below the directory /tmp and delete them, processing filenames in such a way that file or directory names containing single or double quotes, spaces or newlines are correctly handled. The -name test comes before the -type test in order to avoid having to call stat(2) on every file.&lt;br /&gt;
&lt;br /&gt;
    find . -type f -exec file '{}' \;&lt;br /&gt;
[[Category:Linux]] [[Category:Howtos]]&lt;/div&gt;</summary>
		<author><name>Lola</name></author>	</entry>

	</feed>