LinuxQuestions.org
Have you heard the LinuxQuestions.org Podcast?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 04-08-2009, 04:15 PM   #1
mobby1982
LQ Newbie
 
Registered: Dec 2008
Posts: 3
Thanked: 0
Web Development --- Command to search string through files on a server


[Log in to get rid of this advertisement]
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.
mobby1982 is offline  
Tag This Post , ,
Reply With Quote
Old 04-08-2009, 04:19 PM   #2
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,636
Thanked: 18
use 'grep -r "Improve your score" .' instead
tuxdev is offline     Reply With Quote
Old 04-11-2009, 07:14 PM   #3
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: FreeBSD, Debian, Puppy
Posts: 2,716
Thanked: 21
[google] man find

will explain it.
bigearsbilly is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 ...search a string in a link....a url...a web address aus9 LQ Suggestions & Feedback 4 04-16-2008 10:37 AM
Need to search all files for string - strings command? jmur Programming 4 03-28-2008 03:35 PM
Issuing find command to search for string keysorsoze Linux - Newbie 4 11-30-2007 01:06 AM
Is it possible to search for a string from all the files on the harddisk? Akhran Linux - Newbie 8 09-13-2005 07:09 AM
how do i search files for a particular string? darkpark Linux - Newbie 4 07-05-2005 06:46 PM


All times are GMT -5. The time now is 08:07 AM.

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