- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to list the directories in a filesytems
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 06:49 PM
09-29-2005 06:49 PM
Can some one help me in finding the directories in a filesystem ...
Thanks
Binu
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 06:53 PM
09-29-2005 06:53 PM
Re: how to list the directories in a filesytems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 06:55 PM
09-29-2005 06:55 PM
Re: how to list the directories in a filesytems
will list only directories in a FS.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 06:58 PM
09-29-2005 06:58 PM
Re: how to list the directories in a filesytems
cd /fileSystem
ll -d
Regards,
Ziad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 07:01 PM
09-29-2005 07:01 PM
Re: how to list the directories in a filesytems
is correct as RAC mentioned.
Good Luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 07:08 PM
09-29-2005 07:08 PM
Solutionls -lrt|grep "^d"
but this only shows 1st level directories;
mean let's say your moount point /oracle
and when cd oracle let's say 5 dir there
so you can only see these 5 dirs but these
5 dirs may(of course) have many sub_dirs
so you can not list these dirs with the command above.
Again i want to say that RAC's solution is
more significant...
Good luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 07:09 PM
09-29-2005 07:09 PM
Re: how to list the directories in a filesytems
If I want to see the directories inside a directory ls -ld is not working properly
Is there any option along with ls ...
to list down only the directory
Thanks
Binu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 07:35 PM
09-29-2005 07:35 PM
Re: how to list the directories in a filesytems
Nor realy. you will need to combine two commands.
# cd /filesystem
# find . -type d -xdev | xargs ls -ld
-type d = search for directories
-xdev = avoid crossing any file system mount
points
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 08:19 PM
09-29-2005 08:19 PM
Re: how to list the directories in a filesytems
Try this, lsf -l |more / ,will list only directories.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 09:22 PM
09-29-2005 09:22 PM
Re: how to list the directories in a filesytems
I have found the directories using the following syntax
ls -lrt|grep "^d"
Thanks
Binu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 11:37 AM
09-30-2005 11:37 AM
Re: how to list the directories in a filesytems
I have a question.
How to create a dir structure from one server to other server. In my oracle FTP_TOP I have more than 60 dir and then 5 sub dir's.
How I can replicate this dir structure on other server without the data.
Regards.
Harry.