- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Advanced Find
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
05-16-2001 09:28 AM
05-16-2001 09:28 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2001 09:33 AM
05-16-2001 09:33 AM
Solutionone thing that comes to my mind is using the grep command.
If you are in a sepcific directory you can do the following:
# grep
That will lokk for the word in all the files listed in that directory.
I used it too for the next level:
#grep
But that is the deepest you can run it.
Hope that helps a bit,
Steffi Jones
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2001 09:33 AM
05-16-2001 09:33 AM
Re: Advanced Find
# cd /
# find . -type f -print | xargs grep -i stringlookingfor /dev/null
This is usually what I use to find a particular string in a file. It may take a while to run, so if you have a guess of where the file is, change to that directory and then execute the find command, it may save some time. Also, you may want to write the output to file for easier viewing.
-Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2001 09:35 AM
05-16-2001 09:35 AM
Re: Advanced Find
do
grep
done
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2001 09:52 AM
05-16-2001 09:52 AM
Re: Advanced Find
I have attached a utility that works pretty well. You cd to the desired directory to start searching.
Then enter find.sh target (target can be a substring and is not case sensitive). It then recursively descends from the current directory examining regular files which are also some form of text. Those files are then examined for the target string.
Clay