Search Through Server Configs
I'm stuck right now trying to find out why I can't get Samba to authenticate from Active Directory and was looking for a way to search through hundreds of files / folders on my server starting at /srv/ibm/clearcase/ for a specific value string like "mydomain.tld". I don't know how long this query could take but I'm searching it manually using cat after I cd into the directory and it's driving me nuts. There has to be a better way as a Linux Administrator I can search through many sub-folders and files from the parent directory for a specific phrase. I've never used Sed or Awk but I think those are useful tools. I just don't know how to start the search command using them or if they even will do what I want for that matter.
Any examples or recommendations are beyond appreciated! |
grep -r mydomain.tld /srv/ibm/clearcase/
-r is for recursive searching. See "man grep" for more options. |
All times are GMT -5. The time now is 02:18 AM. |