<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.freebsdwiki.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.freebsdwiki.net/index.php?action=history&amp;feed=atom&amp;title=Locate</id>
		<title>Locate - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.freebsdwiki.net/index.php?action=history&amp;feed=atom&amp;title=Locate"/>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php?title=Locate&amp;action=history"/>
		<updated>2026-04-21T04:22:17Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://www.freebsdwiki.net/index.php?title=Locate&amp;diff=13044&amp;oldid=prev</id>
		<title>173.88.199.104: locate</title>
		<link rel="alternate" type="text/html" href="http://www.freebsdwiki.net/index.php?title=Locate&amp;diff=13044&amp;oldid=prev"/>
				<updated>2012-08-10T00:53:03Z</updated>
		
		<summary type="html">&lt;p&gt;locate&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== locate pattern ==&lt;br /&gt;
&lt;br /&gt;
The locate program searches a database for all pathnames which match the&lt;br /&gt;
specified pattern. The database is automaticly recomputed periodically weekly and contains the pathnames of all files which are publicly accessible. IE: everything in the [path].&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The locate program may fail to list some files that are present, or may&lt;br /&gt;
list files that have been removed from the system. This is because locate only reports files that are present in the database, which is  only regenerated once a week by the /etc/periodic/weekly/310.locate script.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If logged in as root&amp;lt;br&amp;gt;&lt;br /&gt;
cd /&amp;lt;br&amp;gt;&lt;br /&gt;
/usr/libexec/locate.updatedb&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
will reveal all filenames on your system to all login users.&amp;lt;br&amp;gt;&lt;br /&gt;
In some user environments this is a security risk.     &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category: System Commands]]&lt;/div&gt;</summary>
		<author><name>173.88.199.104</name></author>	</entry>

	</feed>