- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPUX 11.0: 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-21-2004 03:39 PM
06-21-2004 03:39 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 03:43 PM
06-21-2004 03:43 PM
SolutionA)
# find
e.g.
# find /etc -name 'resolv.conf' -type f -exec ls -ld {} \;
B)
# find / -type l -exec ls -ld {} \;
for more info on find command:
# man find
hope it helps.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 04:00 PM
06-21-2004 04:00 PM
Re: HPUX 11.0: Find Command
You could use the -fsonly option with find to descent only on hfs or vxfs filesystems like this.,
find / -name "filename" -fsonly vxfs -print
regds,
Abdul.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 04:01 PM
06-21-2004 04:01 PM
Re: HPUX 11.0: Find Command
You can use -xdev option with find to restrict the search only to that file system. I do believe find has an option for ignoring nfs file system but I dont have a system to look up and tell you righ tnow. do a man find.
Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 05:40 PM
06-21-2004 05:40 PM
Re: HPUX 11.0: Find Command
To add to it you can use the -follow option to follow the symbolic links.
manish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 05:52 PM
06-21-2004 05:52 PM
Re: HPUX 11.0: Find Command
Question A.
Do you want the find command not to search large nfs files (largefiles) or NFS mounted files.
Some time / directory is mounted as largefiles
fsadm -F vxfs /
largefiles
We have to detect the largefiles as another process
To search a file without searching through the nfs mounted files,
find
Question B.
We can get the link files as
find
Regards,
Muthukumar.