Solaris Naming Administration Guide


To search through the first column, use:

nismatch string tablename  
nisgrep reg-exp tablename

To search through a particular column, use:

nismatch column=string tablename
nisgrep column=reg-exp tablename 

To search through multiple columns, use:

nismatch column=string tablename ...\
nismatch [column=string,...],tablename
nisgrep column=reg-exp ... \
Table 14-8 nismatch and nisgrep Options




Count. Instead of the entries themselves, displays a count of the entries that matched the search criteria. 


Header. Displays a header line above the entries, listing the name of each column. 


Master. Displays only the entries of the table stored on the master server. This ensures you get the most up-to-date information and should be used only for debugging.