|
|
1.1 ! root 1: ! 2: ! 3: whereis Command whereis ! 4: ! 5: ! 6: ! 7: ! 8: Locate source, binary, and manual files ! 9: ! 10: wwhheerreeiiss [-bbmmrrssuu] [-BBMMSS _d_i_r ... -ff] _n_a_m_e ... ! 11: ! 12: The command wwhheerreeiiss locates source files, binary files ! 13: (executables), and manual pages (documentation) that match a ! 14: given _n_a_m_e. Prior to searching, wwhheerreeiiss strips _n_a_m_e of any path ! 15: information, extensions, and the ss. prefix. ! 16: ! 17: By default, wwhheerreeiiss searches the following directories: ! 18: ! 19: SSoouurrcceess BBiinnaarriieess MMaannuuaall PPaaggeess ! 20: /usr/src/cmd /bin /usr/man/ALL ! 21: /usr/src/games /usr/bin /usr/man/COHERENT ! 22: /usr/src/local /usr/games /usr/man/KERNEL ! 23: /usr/src/alien /usr/local /usr/man/MULTI ! 24: /usr/include /etc ! 25: /usr/include/sys /lib ! 26: /usr/lib ! 27: ! 28: ! 29: ***** Options ***** ! 30: ! 31: wwhheerreeiiss recognizes the following command-line options: ! 32: ! 33: -bb Search only for binary files. ! 34: ! 35: -BB Use the directory list specified by _d_i_r instead of the ! 36: default directory list for binary files. ! 37: ! 38: -ff Terminate the directory list introduced by options -BB, -MM, or ! 39: -SS, and treat any additional command-line arguments as file ! 40: names to be searched for. ! 41: ! 42: -mm Search only for manual pages (documentation files). ! 43: ! 44: -MM Use the directory list specified by _d_i_r instead of the ! 45: default directory list for manual pages. ! 46: ! 47: -rr Search recursively downward from the directories specified by ! 48: _d_i_r or from the default directories. This option is useful ! 49: when the searched directories contain sub-directories. By ! 50: default, wwhheerreeiiss searches only the directories specified or ! 51: the default directories. ! 52: ! 53: -ss Search only for source files. ! 54: ! 55: -SS Use the directory list specified by _d_i_r instead of the ! 56: default directory list for source files. ! 57: ! 58: -uu Search for ``unusual'' files. A file is said to be unusual ! 59: if it does not have one entry for each of the three search ! 60: categories. ! 61: ! 62: ! 63: ! 64: COHERENT Lexicon Page 1 ! 65: ! 66: ! 67: ! 68: ! 69: whereis Command whereis ! 70: ! 71: ! 72: ! 73: Please note that if you use options -BB, -SS, or -MM, you must use ! 74: the -ff option to terminate the directory list specified by _d_i_r. ! 75: ! 76: ***** Example ***** ! 77: ! 78: The following example finds all commands in directory bbiinn that ! 79: have either no corresponding source code in directory ssrrcc or no ! 80: corresponding documentation in directory ddoocc: ! 81: ! 82: ! 83: whereis -u -M doc -S src -B bin -f bin/* ! 84: ! 85: ! 86: ***** See Also ***** ! 87: ! 88: ccoommmmaannddss, ffiinndd, qqffiinndd, wwhhiicchh ! 89: ! 90: ***** Notes ***** ! 91: ! 92: wwhheerreeiiss is copyright (c) 1980,1990 by The Regents of the ! 93: University of California. All rights reserved. ! 94: ! 95: wwhheerreeiiss is distributed as a service to COHERENT customers, as is. ! 96: It is not supported by Mark Williams Company. _C_a_v_e_a_t _u_t_i_l_i_t_o_r. ! 97: ! 98: ! 99: ! 100: ! 101: ! 102: ! 103: ! 104: ! 105: ! 106: ! 107: ! 108: ! 109: ! 110: ! 111: ! 112: ! 113: ! 114: ! 115: ! 116: ! 117: ! 118: ! 119: ! 120: ! 121: ! 122: ! 123: ! 124: ! 125: ! 126: ! 127: ! 128: ! 129: ! 130: COHERENT Lexicon Page 2 ! 131: ! 132:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.