Results 1 to 3 of 3
The following command is attempted to locate java files that contains string abc.
Code:
find *.java exec grep -il "abc"{} \ ;
Error message:
find: unknown predicate `-il'...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-10-2012 #1Just Joined!
- Join Date
- Nov 2012
- Posts
- 6
Command to look into files and search for a specific string
The following command is attempted to locate java files that contains string abc.Error message:Code:find *.java exec grep -il "abc"{} \ ;
find: unknown predicate `-il'
- 11-10-2012 #2Just Joined!
- Join Date
- May 2011
- Location
- NJ
- Posts
- 56
edited for innacuracy
Last edited by rrl; 11-10-2012 at 06:51 PM. Reason: innacuracy
- 11-10-2012 #3Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,668


Reply With Quote

