Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Graphics Administration Guide: HP 9000 Workstations and Servers > Chapter 2 Pathnames

Using "find"

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

The find command will find any file in your file system, executable or not. For example, to locate the include file we couldn't locate above, you could say:

$ find / -name 〈file_nameReturn

where 〈file_name 〉 is the name of the file you're looking for. In the above example, the "/" is the root directory, and everything is under that, so — assuming you specified the correct file name, and it is somewhere in the file system — the above command is guaranteed to find what you're looking for, though it make take a while. You can shorten the search time by giving a subdirectory here, if you know it; for example, "find /opt...". Also, you can specify just a partial filename; find will locate all files containing a specified substring in their names. The find command has many other options for refining a search; see the reference page for details.

Subsequent sections of this chapter contain the actual pathnames referred to in other HP graphics API documents, such as Starbase, PEX, etc. A particular paragraph might refer to, say, the 〈demos〉 directory. That directory on an 9.x system may be in a different location than on a 10.x system, so the sections below allow you to resolve the actual path name, given the HP-UX operating system version you have, and the API you are working with.

Find the API you're looking for, then under that, the operating system you have (the old 9.x or the new 10.x file system). In that section is an alphabetical list of "generic names" — the file system path references used in the other documents — and with each, you will see its actual location in the file system.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1996 Hewlett-Packard Development Company, L.P.