Linux command help for looking files and greping for some pattern

Status
Not open for further replies.

mail4idle2

Full Member level 4
Joined
Oct 20, 2012
Messages
200
Helped
20
Reputation
40
Reaction score
19
Trophy points
1,298
Visit site
Activity points
2,173
I searched for a kind of files recursively in folder.
I want to cat all of then and grep for some work


Command I used
find -name '*.vh' | cat * | grep "word"

When I do cat * it is not displaying files content.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…