Date: Wed, 24 Oct 2001 15:13:20 +0200 From: Roman Neuhauser <neuhauser@mail.cz> To: freebsd-questions@freebsd.org Subject: Re: finding files containing specific text Message-ID: <20011024151320.A20018@roman.mobil.cz> In-Reply-To: <200110241256.f9OCuB801980@lv.raad.tartu.ee> References: <200110241256.f9OCuB801980@lv.raad.tartu.ee>
next in thread | previous in thread | raw e-mail | index | archive | help
> From: "Toomas Aas" <toomas.aas@raad.tartu.ee>
> To: freebsd-questions@freebsd.org
> Date: Wed, 24 Oct 2001 14:55:25 +0200
> Subject: finding files containing specific text
>
> Hello!
>
> Somewhere in my /home directory there are some files containing
> text 'starfish'.
>
> How can I get a list of all files in the /home directory and its
> subdirectories that contain the text 'starfish'?
>
> Thanks in advance.
grep -FIHnr 'starfish' ~
--
FreeBSD 4.4-STABLE 3:10PM up 1 day, 53 mins, 9 users, load averages: 0.06, 0.07, 0.08
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?20011024151320.A20018>
