Search Results

Search: Posts Made By: gaurav_s
9,646
Posted By gaurav_s
Using /dev/null with grep and find
Hi,
I am trying to display the filename in which a string was found after using find and grep. For this after some googling I found that this works:

find -name "*.java" -exec grep "searchStr" {}...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 09:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy