- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- find files
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
10-13-2004 01:08 PM
10-13-2004 01:08 PM
#find . -name test.txt
It can be found "test.txt" or "TEST.txt" or "TEST.TXT" or "test.TXT"
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 01:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 01:22 PM
10-13-2004 01:22 PM
Re: find files
One 'confusing' way is to use expression like this
find . -name \[Tt\]\[Ee\]\[sS\]\[tT\]\.\[tT\]\[xX\]\[tT\]
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 01:31 PM
10-13-2004 01:31 PM
Re: find files
I know you can do wildcards ("*" or "?") but I do not think you can do case sensitivity.
Of course you can do 'or conditions', but that's tedious...
find . -name test.txt -o -name TEST.txt -o -name TEST.TXT -o -name test.TXT
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 01:42 PM
10-13-2004 01:42 PM
Re: find files
The '-o' option is an easy way for file names of shorter length. However, as the number of letters in the filename increase, the combinations will increase and it can become unmanageable. [] notation may confuse a little bit but it doesn't really increase your command line.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2004 10:07 AM
10-18-2004 10:07 AM
Re: find files
find . | grep -i test.txt
Mike D'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2004 10:16 AM
10-18-2004 10:16 AM
Re: find files
HTH
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2004 10:41 AM
10-18-2004 10:41 AM
Re: find files
# perl -MFile::Find -le'find(sub{lc$_ eq"test.txt"and print$File::Find::name},".")'
Enjoy, Have FUN! H.Merijn