unixwhoopie
Programmer
If I have main folder called /var/opt/dshs
and there are several subfolders like A1, A2, A3,....
The complete dir structure is
/var/opt/dshs/A1/input/myfile.txt
This myfile.txt is under each folder, A1, A2,...
I want to grep a specific word from each of these files myfile.txt.
Do I have to write a unix script to loop through all the folders? or is there a direct grep command that I can execute under /var/opt/dshs.
Thanks
and there are several subfolders like A1, A2, A3,....
The complete dir structure is
/var/opt/dshs/A1/input/myfile.txt
This myfile.txt is under each folder, A1, A2,...
I want to grep a specific word from each of these files myfile.txt.
Do I have to write a unix script to loop through all the folders? or is there a direct grep command that I can execute under /var/opt/dshs.
Thanks