On Solaris, the niscat command displays NIS+ (Network Information Service) tables and objects.
Description
In the first syntax form above, niscat displays the contents of the NIS+ tables named by tablename.
- Description
- Syntax
- Environment
- Examples
- Related commands
- Linux commands help
In the second syntax form, niscat displays the internal representation of the NIS+ objects named by name.
Syntax
niscat [-AhLMv] [-s sep] tablename…
niscat [-ALMP] -o name…
Options
Environment
If the NIS_PATH environment variable is set, and the NIS+ table name is not fully qualified, each directory specified is searched until the table is found (see nisdefaults).
Examples
niscat -h hosts.org_dir
Display the contents of the host table. Output resembles the following:
cname name addr comment
client1 client1 129.144.201.100 Joe Smith crunchy crunchy 129.144.201.44 Jane Smith crunchy softy 129.144.201.44
If the user has insufficient permissions to view the contents of any given field or entry, the string “NP” is printed.
Related commands
nisdefaults — Display NIS+ default values.nismatch — Utilities for searching NIS+ tables.nistbladm — Administer NIS+ tables.