Solved

recursively listing to find a file

Posted on 2014-09-27
2
176 Views
Last Modified: 2014-09-27
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
Comment
Question by:versailles
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 84

Accepted Solution

by:
ozo earned 500 total points
ID: 40347329
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
 

Author Closing Comment

by:versailles
ID: 40347331
Thanks. find .-name LocalSttings.php once I removed the ".".
Thx !!
0

Featured Post

Independent Software Vendors: 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!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question