?
Solved

recursively listing to find a file

Posted on 2014-09-27
2
Medium Priority
?
179 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 2000 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

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!

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month10 days, 22 hours left to enroll

770 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