logo
Manual Pages
Table of Contents

NAME

na_ypmatch - print matching values from a NIS database

SYNOPSIS

ypmatch [ -k ] [ -t ] key [ key ... ] mapname ypmatch -x

DESCRIPTION

The ypmatch command prints every value in the NIS map map_name whose key matches one of the keys given. Matches are case sensitive. There are no pattern matching facilities. An error is reported if a key fails to match any in the specified map.

OPTIONS

-k
Print keys as well as values. Useful when the database may contain null values.
-t
Do not translate NIS map nicknames to map names.
-x
Display the NIS map nickname translation table.

VFILER CONSIDERATIONS

When run from a vfiler context, (e.g. via the vfiler run command), ypmatch operates on the concerned vfiler.

SEE ALSO

na_nis(1), na_vfiler(1), na_ypcat(1)
Table of Contents