Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site calma.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!decwrl!sun!calma!smithson From: smithson@calma.UUCP (Brian Smithson) Newsgroups: net.unix,net.unix-wizards,net.wanted Subject: Re: Need unix command file HELP! Message-ID: <143@calma.UUCP> Date: Tue, 4-Feb-86 15:02:22 EST Article-I.D.: calma.143 Posted: Tue Feb 4 15:02:22 1986 Date-Received: Thu, 6-Feb-86 20:58:24 EST References: <245@aero.ARPA> <587@smeagol.UUCP> Reply-To: smithson@calma.UUCP (Brian Smithson) Organization: GE/Calma Co., R&D Systems Engineering, Milpitas, CA Lines: 20 Xref: watmath net.unix:7017 net.unix-wizards:16663 net.wanted:8083 In article <587@smeagol.UUCP> earle@smeagol.UUCP (Greg Earle) writes: >> We are looking for a utility that can, when given a arbitrary string, >> can locate all occurences of that string anywhere on the system. Our >> local Un*x gurus can't figure this out, so we are appealing to those out >> in Netland to help us out. > >Some Gurus you got there ... > >> We are looking for the command to work like this: >> >> findstring this-is-the-string > >find / -exec fgrep this-is-the-string '{}' \; (UGGGHHH!) > >Warning! Only execute during hours when no one else is in building!! >Guaranteed to tie up CPU for indefinite periods! :@) >[...] > How about: nice -20 "find / -exec fgrep this-is-the-string {} \;" ? Better pack a lunch, though... :-)