This example displays the contents of the hosts table.
|
example% niscat -h hosts.org_dir
# 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
|
The string *NP* is returned in those fields where the user has insufficient access rights.
Display the passwd.org_dir on the standard output.
|
example% niscat passwd.org_dir
|
Display the contents of table frodo and the contents of all tables in its concatenation path.
Display the entries in the table groups.org_dir as NIS+ objects. Note that the brackets are protected from the shell by single quotes.
|
example% niscat -o '[ ]groups.org_dir'
|
Display the table object of the passwd.org_dir table.
|
example% niscat -o passwd.org_dir
|
The previous example displays the passwd table object and not the passwd table. The table object include information such as the number of columns, column type, searchable or not searchable separator, access rights, and other defaults.
Display the directory object for org_dir, which includes information such as the access rights and replica information.
|
example% niscat -o org_dir
|
|