ypmatch(1)

ypmatch1

Print the values of one or more keys in a nis database

Usage

ypmatch [-kt] [-d domainname] key ... mapname

ypmatch -x

Overview

The ypmatch utility prints out the values of one or more keys from the NIS database specified by mapname, which may be a map name or a map nickname.

The options are as follows:

-d domainname

Specify a domain other than the default domain.

-k

Display map keys. This option is useful with maps in which the values are null or the key is not part of the value.

-t

Inhibit translation of map nicknames to their corresponding map names.

-x

Display the map nickname table.

Releases

87 releases since FreeBSD 2.0.5-RELEASE; the text changed 45 times.

  1. 2.0.5
  2. 2.1.5–2.1.7.1
  3. 2.2.2
  4. 2.2.5–2.2.6
  5. 2.2.7–2.2.8
  6. 2.2.9
  7. 3.0–3.2
  8. 3.3–3.5.1
  9. 4.0–4.2
  10. 4.3
  11. 4.4–4.5
  12. 4.6–4.6.2
  13. 4.7–4.11
  14. 5.0–6.3
  15. 6.4
  16. 7.0
  17. 7.1
  18. 7.2
  19. 7.3
  20. 7.4
  21. 8.0
  22. 8.1
  23. 8.2
  24. 8.3
  25. 8.4
  26. 9.0
  27. 9.1
  28. 9.2
  29. 9.3
  30. 10.0
  31. 10.1
  32. 10.2
  33. 10.3
  34. 10.4
  35. 11.0
  36. 11.1
  37. 11.2
  38. 11.3
  39. 11.4
  40. 12.0
  41. 12.1
  42. 12.2
  43. 12.3
  44. 12.4
  45. 13.0–13.2
  46. 13.3–16.0

Authors

Theo De Raadt ⟨[email protected]⟩.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.