how to find a text string which may be present in some unknown file in entire filesystem
- by Registered User
I am stuck up with a problem I have a line
'something' in some file.
In which file is this line that I have forgotten.
In the entire root file system I would like to find out which file and where is this line.
So how can I go for this.I have used find but when I used find then I knew the name of file in this case I do not know name of file also.
It is a Ubuntu server 10.04 So what can I do to find out which file has this string.