---
name: "ypcat"
section: "1"
platform: "freebsd"
package: "base"
version: "16.0-CURRENT-20261027-61c70dc16a79"
release: "FreeBSD 16.0-CURRENT (2026-10-27)"
platforms: ["linux", "freebsd", "openbsd"]
url: "https://new.carta.tech/ypcat"
---

# ypcat(1)

print the values of all keys in a NIS database

## NAME

**ypcat** – print the values of all keys in a NIS database

## SYNOPSIS

**ypcat** \[**-kt**\] \[**-d** *domainname*\] *mapname*

**ypcat** **-x**

## DESCRIPTION

The **ypcat** utility prints out the values of all 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.

## SEE ALSO

[domainname(1)](/domainname/1.md), [ypmatch(1)](/ypmatch/1.md), [yp(8)](/yp/8.md), [ypbind(8)](/ypbind/8.md), [ypset(8)](/ypset/8.md)

## AUTHORS

Theo De Raadt ⟨*deraadt@theos.com*⟩.
