Solved

finding text in a list of files

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
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 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.

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now