Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Aug 1998 17:51:49 -0400 (EDT)
From:      CyberPeasant <djv@bedford.net>
To:        flashlight@swn.de (Barry Grotjahn)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Datei mit Inhalt yyy finden ?
Message-ID:  <199808172151.RAA24021@lucy.bedford.net>
In-Reply-To: <35D86611.2485D3F2@swn.de> from Barry Grotjahn at "Aug 17, 98 06:19:13 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Barry Grotjahn sprosil:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Wie finde ich unter allen Dateien auf der Festplatte diejenigen, die zum
> Beispiel __zum Starten 1 dr_cken__ enthalten ?
> Vielleicht kann man dazu ja irgendwie find und grep kombinieren (?) ...
> .
> 

Sicher:

find / -type f | xargs -n40 grep -l "zum Starten 1 dr" /dev/null

"/dev/null" ist fuer Sicherheit, wenn die Nummer Dateien % 40 genau 0 sei.

Man grep und man xargs 

Dave
-- 
             Confutatis maledictis, flammis acribus addictis.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808172151.RAA24021>