- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ls and ll
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
07-02-2002 08:46 PM
07-02-2002 08:46 PM
ls and ll
I cd /user123, when I do a #ls, there is a file or directory called abc, but when I #ll abc
it said," not found", how come?
#file abc
got " can not open"
Any ideas?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 08:55 PM
07-02-2002 08:55 PM
Re: ls and ll
Try doing an
# ll abc*
and you will probably be able to see the contents of the directory.
#ll -d abc*
Will show the details of the directory itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 09:00 PM
07-02-2002 09:00 PM
Re: ls and ll
"abc not found "
any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 09:10 PM
07-02-2002 09:10 PM
Re: ls and ll
Is this directory a nfs mount point?
I have faced this problem, when I am doing a nfs mount and not able to use ll command.
The solution is unmount the filesystem and mount it again.
-Sukant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 09:18 PM
07-02-2002 09:18 PM
Re: ls and ll
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 09:24 PM
07-02-2002 09:24 PM
Re: ls and ll
If it is not nfs mounted, then did you try
# ll *abc*
Please dont laugh....;-)
-Sukant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 10:37 PM
07-02-2002 10:37 PM
Re: ls and ll
Hi,Let us assume that your problem is that you have strange characters as
part of the file-name.
To a certain degree you can check this using this method:
cd /user123
ls -li > lsi.out
vi lsi.out
In vi give this command: :set list
You will then see special characters like space, tab etc.
Still assuming that strange characters is the problem, you may
correct it in this way:
cd /user123
ls -li
In the first column you will see the inode-number for abc
You then use this inode-value in find to change the name abc
to something new:
find . -inum
Regards
Olav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2002 11:30 PM
07-02-2002 11:30 PM
Re: ls and ll
you mentioned that ls shows you abc but ll abc does not work. Does ls abc show you the file/directory?
Did you try ll *a*b*c* as well?
Allways stay on the bright side of life!
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 01:35 AM
07-03-2002 01:35 AM
Re: ls and ll
Try this:
file *
ls |od -c
And please put the results here.
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 01:48 AM
07-03-2002 01:48 AM