Sort of. find . -type '*.c' -exec grep "my_text" {} \;
Or a more robust version: find . -type '*.c' -exec grep "your text here" "./{}" \; -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 26, 2005 9:30 AM To: debian-user@lists.debian.org Subject: find Hi, I'm trying to find a word in a file using find. I take a look at the man of find but... All i see is to find files, perms, etc. It's possible to find an word in a text file? All i can do is this: $find . -name *.c -print Many thanks. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]