Wednesday, April 12, 2023
[Ubuntu] find command with grep
find -name "*.java" -exec grep "foo" -Hn {} \;
-H Display filesname
-n Display line number
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment