Re: Search certain string in a directory
- From: Jeff D <fixedored@xxxxxxxxx>
- Date: Sun, 29 Apr 2007 22:54:44 -0700 (PDT)
On Sun, 29 Apr 2007, rocky wrote:
Hey,
I have a directory and several sub-directory and files reside within
it. I'm wondering is there any command I can use to search for the
certain tring's ocurence? Can any of you help me please?
Thanks a lot in advance!
Rocky
find ~/tmp/ -type f -exec grep -l mystring {} \;
this will recursivly look for files in ~/tmp/ and print out files that have mystring in them.
-+-
8 out of 10 Owners who Expressed a Preference said Their Cats Preferred Techno.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: Search certain string in a directory
- From: Steve Kemp
- Re: Search certain string in a directory
- References:
- Search certain string in a directory
- From: rocky
- Search certain string in a directory
- Prev by Date: ibm T40 and xorg.conf
- Next by Date: Re: to lvm or not to lvm?
- Previous by thread: Re: Search certain string in a directory
- Next by thread: Re: Search certain string in a directory
- Index(es):
Relevant Pages
- Re: what happen to : dpkg --check-md5sums ?
... I am trying to figure out what is the new command to verify that the ...
out of 10 Owners who Expressed a Preference said Their Cats Preferred Techno. ... To UNSUBSCRIBE,
email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ... (Debian-User) - Re: Cron job not cooperating
... My /etc/cron.daily contains the problem file: ... The command works as
expected when copying and pasting to the command line. ... out of 10 Owners who Expressed a Preference
said Their Cats Preferred Techno. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". ... (Debian-User) - Re: Search certain string in a directory
... I have a directory and several sub-directory and files reside within ...
I'm wondering is there any command I can use to search for the ... To UNSUBSCRIBE,
email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ... (Debian-User) - Search certain string in a directory
... I have a directory and several sub-directory and files reside within ...
I'm wondering is there any command I can use to search for the ... To UNSUBSCRIBE,
email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... (Debian-User) - RE: redhat-list digest, Vol 1 #8511 - 29 msgs
... To subscribe or unsubscribe via the World Wide Web, ... Command running
on terminal at some intervals (Reuben D. ... Re: bash shell ... rsync with
public/private keys/no passwords ... (RedHat)