From owner-freebsd-questions@FreeBSD.ORG Fri Jun 18 21:01:45 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EC5A106564A for ; Fri, 18 Jun 2010 21:01:45 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout030.mac.com (asmtpout030.mac.com [17.148.16.105]) by mx1.freebsd.org (Postfix) with ESMTP id 777768FC1A for ; Fri, 18 Jun 2010 21:01:45 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp030.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L4800HWXAEWBW00@asmtp030.mac.com> for freebsd-questions@FreeBSD.ORG; Fri, 18 Jun 2010 14:01:45 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1006180138 X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166 definitions=2010-06-18_03:2010-02-06, 2010-06-18, 2010-06-18 signatures=0 From: Chuck Swiger In-reply-to: <20100618205629.GA6931@thought.org> Date: Fri, 18 Jun 2010 14:01:44 -0700 Message-id: <236FB9A0-F00C-409E-8085-AE2575B7DDBB@mac.com> References: <20100618205629.GA6931@thought.org> To: Gary Kline X-Mailer: Apple Mail (2.1081) Cc: FreeBSD Mailing List Subject: Re: utility to all ALL strings? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2010 21:01:45 -0000 Hi-- 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 Regards, -- -Chuck