LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-16-2004, 03:58 PM   #1
jacksonscottsly
LQ Newbie
 
Registered: Nov 2003
Distribution: gentoo
Posts: 19

Rep: Reputation: 0
what tool can search for documents containing certain text?


i just want to know how to search my hard disk for which file contains text string X, like kfind or gnome's file search, but I don't want to install either. I use enlightenment, waimea, kahakai, and fluxbox. Any tools out there that will do a good job? I'd like one with a gui and one that's also commandline. thanks.
 
Old 07-16-2004, 04:23 PM   #2
buffed317
Member
 
Registered: Jun 2004
Location: New Jersey, USA
Distribution: Slackware 11
Posts: 191

Rep: Reputation: 31
the grep command should work. i have used it for find text within a single document but there should be an option to search multiple files. i guess you could use a wildcard for the filename. try man grep for more information.
 
Old 07-19-2004, 01:35 AM   #3
zakaluka
Member
 
Registered: Oct 2003
Posts: 58

Rep: Reputation: 15
grep, fgrep and egrep are designed exactly for this purpose. You can search entire directories, or just pass the names of all the files you'd like to search. Like buffed317 suggested, do 'man grep' or 'grep --help' for more information.

Regards,

zakaluka.
 
Old 07-19-2004, 01:44 AM   #4
jacksonscottsly
LQ Newbie
 
Registered: Nov 2003
Distribution: gentoo
Posts: 19

Original Poster
Rep: Reputation: 0
yep, grep's fine, but is there something available in a gui, too?
 
  


Reply


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
fast search tool. bruse Linux - Newbie 4 08-20-2005 09:43 PM
All documents print as text using lpr JohnKFT Slackware 1 04-12-2005 11:48 AM
How to view Rich Text Format documents edwal Linux - Newbie 1 04-06-2005 02:16 PM
PHP: text search in StarOffice and OpenOffice documents, how to do it fast? J_Szucs Linux - General 1 11-22-2003 06:37 AM
A less discriminatory search tool Goatdemon Linux - Software 4 07-02-2002 10:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:16 AM.

Main Menu
Advertisement
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
Twitter: @linuxquestions
Open Source Consulting | Domain Registration