Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
sudo find /some_root_folder_here -type d -name "89" -print0 | xargs -0 ls -al
It will list the contents of '/89' wherever it is found. You just specify the "some_root_folder" against which you are trying to list some remotely deep folders. It will certainly return the full path of the folder. It did to mine.
Hope that helps.
Goodluck.
Last edited by malekmustaq; 02-15-2012 at 03:48 AM.
And Before this may be I don't know any name of the folder. Then how can it be.
The best rule for easy finding is to first know what you are looking for.
Meantime test that code under /proc. Look for a folder named /stat somewhere below it and list the contents. Say try this code:
Quote:
sudo find /proc -type d -name "stat" -print0 | xargs -0 ls -al
Count how many folders it finds of same name but different tree and different contents listed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.