ypcat(1)

πŸ“¦
version 4.2.3 Β· 2 versions
  • 4.2.3 Β· debian bookworm, debian trixie, fedora 43, fedora 44, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 15.1 Β· freebsd 14.5, freebsd 15.1
, in debian bookworm, debian trixie, fedora 43, fedora 44, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– ypcat β€” the yp-tools girlie πŸ’–

okay bestie, welcome to ypcat from section 1 of the General Commands Manual. she prints values. she's simple. she's iconic. let's go πŸŽ€


✨ NAME ✨

ypcat β€” print values of all keys in a NIS database πŸ’…


🌸 SYNOPSIS 🌸

ypcat [ -kt ] [ -d domain ] [ -h hostname ] mapname
ypcat -x

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe: ypcat prints out the values of every single key in the NIS database you point it at, the one specified by mapname. and mapname can be either a map name or a map nickname, no gatekeeping πŸ’–


πŸ‘‘ OPTIONS πŸ‘‘

  • -d domain β€” pick a domain that isn't the default one. the default is whatever domainname(8) hands back. so if you're feeling like a different domain today, this is your moment ✨
  • -h hostname β€” point at a hostname that isn't the default one. the default is the one ypbind(8) found. lowkey useful when you wanna ask a different server 🫢
  • -k β€” display map keys too. highkey important for maps where the values are null, or where the key just... isn't part of the value. iykyk 😭
  • -t β€” this one inhibits map nickname translation. so no nickname glow-ups, just the raw thing 🚫✨
  • -x β€” display the map nickname translation table. the whole little dictionary, served fresh πŸ“

🧚 FILES 🧚

  • /var/yp/nicknames β€” the map nickname translation table. yes, that one. the source of all the nickname lore 🌈

πŸ’œ SEE ALSO πŸ’œ

domainname(8), nicknames(5), ypbind(8), ypmatch(1), yppoll(8), ypserv(8), ypset(8), ypwhich(1)

go read those too, bestie, they're all in the same friend group πŸ’–


🌟 AUTHOR 🌟

ypcat</purl> is part of the yp-tools package, which was written by Thorsten Kukuk <kukuk@linux-nis.org>. shoutout to the author, absolute legend, main character energy fr fr πŸ‘‘βœ¨


and that's the whole page bestie!! this was YP Tools 4.2.3, from April 2010, and yes it's giving vintage but she still slays πŸ’…πŸ«Ά mwah, go cat some maps πŸ’–