Search This Blog
Wednesday, April 12, 2023
[Ubuntu] find command with grep
Email This
BlogThis!
Share to X
Share to Facebook
Share to Pinterest
find -name "*.java" -exec grep "foo" -Hn {} \;
-H Display filesname
-n Display line number
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)