I have many directories like for example:
example.com/ and google.com/ and many more like this
and under example.com/ there are 2 directories:
subdomains/ and webs/
under webs/ there is a file I need to open called:
webs.txt
So how can I open webs.txt in all directories.
>Solution :
You can simply use a wildcard at the beginning of your command.
This is what worked for me:
cat */webs/webs.txt