ypmatch(1)
π ypmatch β the yp-tools bestie that pulls values out of your NIS map π
okay so real talk, this is a page from the General Commands Manual, and the command is ypmatch(1). she's a little lookup queen and she's about to make your NIS life so much easier, no cap.
β¨ NAME β¨
ypmatch β print the values of one or more keys from a NIS map
like... that's literally her whole job and she does it flawlessly π
πΈ SYNOPSIS πΈ
ypmatch [ -kt ] [ -d domain ] key ... mapname
ypmatch -x
π¦ DESCRIPTION π¦
so bestie, here's the tea: ypmatch prints the values of one or more keys out of the NIS database that you point at with mapname. and mapname can be either a real map name or a map nickname β she's flexible like that, she contains multitudes β¨
π OPTIONS π
-ddomain β wanna look in a domain that isn't the default one? say less. this picks a domain other than the default domain, and the default is whateverdomainname(8)hands back.-kβ show the map keys. this one is genuinely so useful when the map's values are null, or when the key isn't even part of the value. lowkey a lifesaver π-tβ this option inhibits map nickname translation. yeah. she said no more nicknames, we're going full legal name only.-xβ display the map nickname translation table. the whole thing. iconic.
π FILES π
/var/yp/nicknamesβ the map nickname translation table. that's where all the nickname lore lives π«Ά
π SEE ALSO π
domainname(8), nicknames(5), ypbind(8), ypcat(1), yppoll(8), ypserv(8), ypset(8), ypwhich(1)
go read the whole friend group, they're all serving π
π AUTHOR π
ypmatch is part of the yp-tools package, which was written by Thorsten Kukuk <kukuk@linux-nis.org>. giving credit where credit is due, periodt β¨
π mwah, that's the whole page bestie. go match some keys, you're gonna ate. π
this was YP Tools 4.2.3, from April 2010 β yeah she's vintage, she's a classic, and she still slays ππ¦β
π¦ where this page comes from
- debian bookworm: yp-tools 4.2.3-3 Β· GPL-2.0-only
- debian trixie: yp-tools 4.2.3-4+b2 Β· GPL-2.0-only
- fedora 43: yp-tools 4.2.3-21.fc43 Β· GPL-2.0-only
- fedora 44: yp-tools 4.2.3-22.fc44 Β· GPL-2.0-only
- ubuntu jammy: yp-tools 4.2.3-3 Β· GPL-2.0-only
- ubuntu noble: yp-tools 4.2.3-4build1 Β· GPL-2.0-only
- ubuntu questing: yp-tools 4.2.3-4build1
- ubuntu resolute: yp-tools 4.2.3-6 Β· GPL-2.0-only
- ubuntu stonking: yp-tools 4.2.3-6build1 Β· GPL-2.0-only
- Copyright (C) 1998, 1999, 2001, 2007, 2010 Thorsten Kukuk
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms