utility to all ALL strings?

Chuck Swiger cswiger at mac.com
Fri Jun 18 21:01:45 UTC 2010


On Jun 18, 2010, at 1:56 PM, Gary Kline wrote:
> this goes back >> a few years, but is there, somewhere in ports, a
> utility that goes thru the entire system and collects either all
> file names or all strings---i do not think this operated on
> binaries [:-)]--- and hashed and compressed everything?

You're most likely talking about the "locate" command, which collects all filenames from the system to provide a quicker substitute for "find".  See:

     /usr/libexec/locate.updatedb     Script to update the locate database
     /etc/periodic/weekly/310.locate  Script that starts the database rebuild


More information about the freebsd-questions mailing list