Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 04-08-2009, 03:15 PM   #1
LQ Newbie
Registered: Dec 2008
Posts: 3

Rep: Reputation: 0
Web Development --- Command to search string through files on a server

Hi I am web developer I have this command find . -exec grep "Improve your score" '{}' \; -print for searching through files . I found this command but now i would like to tweak it to gain more out of it. IF somebody could break it to me and explain this command that will be really helpful. Thanks in advance.
Old 04-08-2009, 03:19 PM   #2
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 2,014

Rep: Reputation: 115Reputation: 115
use 'grep -r "Improve your score" .' instead
Old 04-11-2009, 06:14 PM   #3
Senior Member
Registered: Mar 2004
Location: england
Distribution: Debian, Mint, Puppy, Raspbian
Posts: 3,360

Rep: Reputation: 192Reputation: 192
[google] man find

will explain it.


development, search, web

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can you make search a string in a link....a url...a web address aus9 LQ Suggestions & Feedback 4 04-16-2008 09:37 AM
Need to search all files for string - strings command? jmur Programming 4 03-28-2008 02:35 PM
Issuing find command to search for string keysorsoze Linux - Newbie 4 11-30-2007 12:06 AM
Is it possible to search for a string from all the files on the harddisk? Akhran Linux - Newbie 8 09-13-2005 06:09 AM
how do i search files for a particular string? darkpark Linux - Newbie 4 07-05-2005 05:46 PM

All times are GMT -5. The time now is 12:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration