- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: error of "find" command
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
06-20-2004 07:21 PM
06-20-2004 07:21 PM
-rwxr-xr-x 1 root sys 0 Jun 16 a.20030717
-rwxr-xr-x 1 root sys 2054 Jun 17 search_815.20040621
When I execute "find . -name *.[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]", an error message shows "find:missing conjunction".
When I remove the file "a.20030717", and execute same command, "search_815.20040621" was found.
As my understanding, "a.20030717" will be found when I execute the same command. But the result shows NON.
What is the reason?
Can someone advise me?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2004 07:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2004 07:35 PM
06-20-2004 07:35 PM
Re: error of "find" command
shouldn't it be:
# find . -name '*.[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'
or
# find . -name '*.[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]' -exec ls -ld {} \;
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2004 07:38 PM
06-20-2004 07:38 PM
Re: error of "find" command
find /var/home/sks -name "*.[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]"
(use double quotes)
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2004 07:50 PM
06-20-2004 07:50 PM
Re: error of "find" command
I have confirmed your suggestions are correct.
Best regards
Chen Yingjie