System Administration Guide: Naming and Directory Services (NIS+)

Displaying the Contents of an NIS+ Table

To display the contents of a table, use niscat with a table name:


niscat tablename

This example displays the contents of the table named depts.


rootmaster% niscat -h depts.doc.com.
#Name:Site:Name
R&D:SanFran:kuznetsov
Sales:SanFran:jhill
Manf-1:Emeryville:hosteen
Manf-2:Sausalito:lincoln

Note –

The symbol *NP* indicates that you do not have permission to view that entry. Permissions are granted on a table, column, or entry (row) basis. For more on access permissions, see Chapter 15, Administering NIS+ Access Rights.