- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- list the directory structure
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
08-27-2009 01:09 AM
08-27-2009 01:09 AM
list the directory structure
How to list the entire directory structure/files with the permissions in hpux box..
Thanks in advance
Venkat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2009 01:21 AM
08-27-2009 01:21 AM
Re: list the directory structure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2009 01:50 AM
08-27-2009 01:50 AM
Re: list the directory structure
#ll -R
or
#lsr
Note that it will list with respect to your curreent directory...
Reagrds,
LIJEESH N G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2009 01:55 AM
08-27-2009 01:55 AM
Re: list the directory structure
ls -lrt
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2009 06:04 AM
08-27-2009 06:04 AM
Re: list the directory structure
> ls -lrt
Note that "-r" and "-R" are not equivalent.
Welcome to UNIX.
And why "t"? Who asked for that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2009 06:10 AM
08-27-2009 06:10 AM
Re: list the directory structure
ls -R /
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2009 07:33 AM
08-27-2009 07:33 AM
Re: list the directory structure
find . -exec ls -l {} \;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2009 07:37 AM
08-27-2009 07:37 AM
Re: list the directory structure
It is simple !!! The first command which we learn in Unix - ls :)
ls -R
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2009 09:37 AM
08-27-2009 09:37 AM
Re: list the directory structure
> Unix - ls :)
Perhaps the first command "we" _should_ learn
is "man".
I find it a little scary that anyone would
even ask this question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2009 10:58 AM
08-27-2009 10:58 AM
Re: list the directory structure
even ask this question.
What is really scary is that someone marks up HPUX and sundry as "My area(s) of expertise" and still ask that question.
So let's just assume that it the Venkat knows his stuff, but failed to communicate the real question.
Venkat, "What problem are you trying to solve" ?
When you list the directory structures and files, what are you going to do with it?
How will you need to present it or subsequently query this?
Do you need to convey 'depth' or other file attributes, besides the permissions mentioned? For example the owner is needed to make the permissions make sense.
http://docs.hp.com/en/B2355-90689/ls.1.html
Good luck!
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2009 12:14 AM
08-28-2009 12:14 AM
Re: list the directory structure
just for some R&D,after succeeding that i will let u know guys...
Thanks for you all,
venkat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2009 12:16 AM
08-28-2009 12:16 AM
Re: list the directory structure
Thanks for you all,
venkat