troubleshooting Question

Command for finding a string in multiple files and directories

Avatar of mlegros
mlegros asked on
Unix OS
2 Comments1 Solution230 ViewsLast Modified:

I need to find a specific string in an unkowned file in an unkowned directory.  How do i do that ?

For example, i wanna know which files can contained the password "blahblahblah" on my server.  But i don't know exactly which files could have it... neither their specific location.

In windows i would search for the string "blahblahblah" in any kind of files in any directories...  How can i do that with a unix command ?!

Thanks !

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros