- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 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
07-13-2000 02:42 AM
07-13-2000 02:42 AM
I want to find a file called Pipo or pipo in the a directory. I don't know if it is in a uppercase or a lowercase or mix of it.
Which option do I have to use with the command find ? Or is there a other solution?
Marcel
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2000 02:45 AM
07-13-2000 02:45 AM
Re: find command
two solutions:
find . -name '[Pp][Ii][Pp][Oo]' -print
OR
find . | awk '{if(tolower($0)=="pipo")print $0}'
Cheers
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2000 02:49 AM
07-13-2000 02:49 AM
Re: find command
Have you tried:
find . -name PIPO -o -name pipo -o -name Pipo...
Regards
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2000 03:03 AM
07-13-2000 03:03 AM
Re: find command
Thank you for your responce, but the file Pipo or pipo is a example-name for a file. I have a lot of filenames with upper or lowercases.
So, I want use the command in a script to search in directory's.
Marcel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2000 03:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2000 03:07 AM
07-13-2000 03:07 AM
Re: find command
for multiple names:
find . |egrep -i '(pipo|papa|hello|whatever)'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2000 03:22 AM
07-13-2000 03:22 AM
Re: find command
I'm thought to different, I used the -exec command-option , that was not right.
Now I have asked a really stupid question .
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2000 06:27 AM
07-13-2000 06:27 AM
Re: find command
du -a [directory] | grep -i [filename]$
The $ is required only if you want to eliminate directories of the same name from your list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2000 05:21 AM
07-17-2000 05:21 AM
Re: find command
find * | tr [A-Z] [a-z] | grep your_file_name
After see them in lower case, go to that dir and look for it.
Cheers