Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 185
  • Last Modified:

recursively listing to find a file

I am at /home. All my web sites are listed with ls. No problem in getting listed all their files (ls -Rl).
Now I would like to make the list with all the sites with a wiki. I tried "ls -R LocalSettings.php". It does not work.

Actually what I would like to have is the complete /home/site/LocalSettings.php information on a single line. Is there a way?

Thank you!
0
versailles
Asked:
versailles
1 Solution
 
ozoCommented:
I'm not sure what you are asking for
do you want something like
ls -R | grep LocalSettings.php
or
find . -name LocalSettings.php
0
 
versailleschercheur libreAuthor Commented:
Thanks. find .-name LocalSttings.php once I removed the ".".
Thx !!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now