- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cannot ls with wildcards
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
01-19-2003 03:44 AM
01-19-2003 03:44 AM
cannot ls with wildcards
Im trying to do an ls from a directory. A normal ls -al works fine giving correct results. But if I do an ls -al A* it does not show me the files that start with an "A" it says ls: No match.
I tried changing directory permissions, It still doesn't work with a wildcard. But if i do the same command with root it works (ls -al A*) . Could somebody help me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2003 05:10 AM
01-19-2003 05:10 AM
Re: cannot ls with wildcards
Can you send the output of ll -d
And ll
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2003 07:41 AM
01-19-2003 07:41 AM
Re: cannot ls with wildcards
Sometimes I find I have to do an ls A*.* to get results, Don't ask me why, I don't know.
You should know that you can't ls any directory that doesn't have x (execute rights on it).
ls -la dirname
dirname x--x--x date
should be the output at the very least.
Nobody flame me if I didn't get the order right on the xrw part, its eary in the am here.
Steve
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2003 08:39 AM
01-19-2003 08:39 AM
Re: cannot ls with wildcards
Kurt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2003 09:01 AM
01-19-2003 09:01 AM
Re: cannot ls with wildcards
If the owner of file or dir that beginng with A* don't have read permissions for a group where belong to user that you triying, never this user can't see anything.
Another possibility is that the file have bben created by mistake beginning with a non-printable character, try with "ls -al *A*"
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2003 11:26 AM
01-19-2003 11:26 AM
Re: cannot ls with wildcards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2003 01:42 AM
01-21-2003 01:42 AM
Re: cannot ls with wildcards
As Clay mentioned, you have probably turned of filename generation.
If you use a C shell, then see /etc/csh.login, .login and .cshrc if filename generation is turned off somewhere. If I remember correctly, the C shell term is "glob"/"globbing" or some such. Se the csh(1) manual page for details.