[CentOS] find
Niki Kovacs
contact at kikinovak.netFri Oct 3 14:04:52 UTC 2008
- Previous message: [CentOS] find
- Next message: [CentOS] find
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
tony.chamberlain at lemko.com a écrit : > I am looking for something similar to the windows SEARCH FILES comman > with the option "files containing ..." (that is where I can specify a > string and it will find all files containing that string -- not just having > the string as part of the name but actually containing it in the text). > > Is there some way to do this? > grep is your friend. Let's say you are looking for the character string 'UserDir' below your /etc directory. Then you would simply do: [root at grossebertha ~]# grep -R UserDir /etc/ Give it a try! Niki
- Previous message: [CentOS] find
- Next message: [CentOS] find
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list