Linux and Unix nismatch and nisgrep

Quick links

About nismatch and nisgrep
Syntax
Examples
Related commands
Linux and Unix main page

About nismatch and nisgrep

Utilities for searching NIS+ tables.

Syntax

nismatch [-A] [-c] [-h] [-M] [-o] [-P] [-v] [-s sep] key tablename

nisgrep [-A] [-c] [-h] [-i] [-M] [-o] [-v] [-s sep] keypat tablename

-AAll data. Return the data within the table and all of the data in tables in the initial table's concatenation path.
-cPrint only a count of the number of entries that matched the search criteria.
-hDisplay a header line before the matching entries that contains the names of the table's columns.
-iIgnore upper/lower case distinction during comparisons.
-MMaster server only. Send the lookup to the master server of the named data. This guarantees that the most up to date information is seen at the possible expense that the master server may be busy.
-oDisplay the internal representation of the matching NIS+ object(s).
-PFollow concatenation path. Specify that the lookup should follow the concatenation path of a table if the initial search is unsuccessful.
-vVerbose. Do not suppress the output of binary data when displaying matching entries. Without this option binary data is displayed as the string *BINARY*.
-s sepThis option specifies the character to use to separate the table columns. If no character is
specified, the default separator for the table is used.

Related commands

niscat
nisdefaults
nistbladm