On Sat, May 30, 2009 at 11:25:12AM +0200, Zbigniew Szalbot wrote: > Hello, > > Can you please give me a hint how to use find to search for a specific > text within files?
If you just want the filenames which contain the string you are searching for, use the "-l" argument to tell grep to print out the filenames. For example: grep -rl "string" . will print out all the filenames containning "string". > > > -- > Zbigniew Szalbot > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" 郑天宇 2009年05月31日 -- zheng.org
pgpN3TtCeoBit.pgp
Description: PGP signature