Solved

finding text in a list of files

Posted on 1997-08-08
3
273 Views
Last Modified: 2010-04-22
I want to know how to find specific text in any files in a UNIX directory. (text files of course)
0
Comment
Question by:rfbrfb
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
rfb earned 130 total points
ID: 2006640
use the command egrep -i '(the string to find)' *
0
 
LVL 1

Expert Comment

by:rfb
ID: 2006641
good answer, it worked. thanks
0
 

Author Comment

by:rfbrfb
ID: 2006642
thank you
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question