How to find a string in a directory?
By using "grep String *", I can find String in the files of a directory, but can not find in its sub-directories' files.
I wonder how to find a string in the files of a directory and all its sub-dirctories? Sorry for my poor English, I hope that you can understand me. |
man grep
grep -R String * |
thanks,tredegar.
I'm sorry, I'm using Aix, and thought grep of aix was the same as linux's, I find I'm wrong:( |
All times are GMT -5. The time now is 01:20 PM. |