- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ls problem
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
04-17-2002 09:53 PM
04-17-2002 09:53 PM
when i use ll command:-rw-rw-rw- 1 pin pin 0 Feb 8 09:11 core.1000
-rw-rw-rw- 1 pin pin 0 Feb 8 11:09 core.123
drwxrwxrwx 2 pin pin 1024 Apr 19 01:31 data
-rwxrwxrwx 1 pin pin 399 Jan 22 18:07 del.line
-rwxrwxrwx 1 pin pin 1960 Apr 12 16:07 demo
but when i use :ll data,there is alos display what are in data :
tsrad 78> ll data
total 4
-rw-rw-rw- 1 pin pin 0 Apr 19 01:25 112002
-rw-rw-rw- 1 pin pin 0 Apr 18 22:50 200201
-rw-rw-rw- 1 pin pin 0 Apr 18 22:49 200204
-rw-rw-rw- 1 pin pin 0 Apr 18 22:50 200210
-rwxrwxrwx 1 pin pin 110 Apr 19 01:21 b
-rw-rw-rw- 1 pin pin 260 Apr 19 01:26 bb
-rw-rw-rw- 1 pin pin 0 Apr 19 01:31 user_fee_2002
but what i need is just :
drwxrwxrwx 2 pin pin 1024 Apr 19 01:31 data
and i wanna use ls to do it:
ls -? data
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 09:55 PM
04-17-2002 09:55 PM
Re: ls problem
ll | grep data

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 09:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 09:56 PM
04-17-2002 09:56 PM
Re: ls problem
ll -d data

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 09:57 PM
04-17-2002 09:57 PM
Re: ls problem
You can do ll|grep data
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 09:58 PM
04-17-2002 09:58 PM
Re: ls problem
Btw, your directory permissions do not look too healthy to me.
If this is not a test system, it would be advisable for you to set the umask in your .profile to at least the following:
umask 077
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 11:04 PM
04-17-2002 11:04 PM
Re: ls problem
should give you what you want - the dtails of the directory itself without the contents of the directory.
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2002 11:30 PM
04-17-2002 11:30 PM
Re: ls problem
right,cause if there is other things ,like somedata,onedata, ll |grep data also will find it,but i dont need.