Solved

finding text in a list of files

Posted on 1997-08-08
3
272 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

856 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