Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ypmatch(1) [opendarwin man page]

YPMATCH(1)						    BSD General Commands Manual 						YPMATCH(1)

NAME
ypmatch -- print the values of one or more keys in a YP database SYNOPSIS
ypmatch [-kt] [-d domainname] key ... mapname ypmatch -x DESCRIPTION
Ypmatch prints out the values of one or more keys from the YP 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
ypcat(1), yp(8) AUTHOR
Theo De Raadt BSD
December 3, 1993 BSD

Check Out this Related Man Page

YPCAT(1)						    BSD General Commands Manual 						  YPCAT(1)

NAME
ypcat -- print the values of all keys in a NIS database SYNOPSIS
ypcat [-kst] [-d domainname] mapname ypcat -x DESCRIPTION
ypcat 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. -s When printing the value of a key, compress all whitespace characters to a single space. Useful when values contain newlines. -t Inhibit translation of map nicknames to their corresponding map names. -x Display the map nickname table, found in /var/yp/nicknames. A built-in default translation table is used if /var/yp/nicknames does not exist (see nicknames(5) for details). SEE ALSO
domainname(1), ypmatch(1), ypwhich(1), nicknames(5), nis(8), ypbind(8), yppoll(8), ypset(8) AUTHORS
Theo De Raadt Greywolf BSD
January 12, 2011 BSD
Man Page

4 More Discussions You Might Find Interesting

1. Linux

Using NIS-ypmatch, ypcat, Lname, Gname to get username/key

Hello, We can get the full info by typing: ypmatch username passwd aaaa : yyyy: ... ... : LastName Gname : ... ... However, I'd like to know how could we get the username based on LastName and Given name please? Thanks a lot, ly (3 Replies)
Discussion started by: test111111
3 Replies

2. Shell Programming and Scripting

ypmatch,ypcat,NIS

Hi I am moving from shell scripting part to network shell scripting. Can some one give me basic idea for all network related commands like ypmatch,ypcat,NIS etc... Documentation wiil be highly appreciated (1 Reply)
Discussion started by: siquadri
1 Replies

3. Shell Programming and Scripting

Shell scripts exits after executing ypmatch

Hello - I have a script which creates a NIS user on Solaris machine. Before creating the user I check if the user being created laready exists or not using ypmatch and use $? to get the exit code. If a user exists, I get 0, works fine. However when the user is not found, the shell scripts exits by... (1 Reply)
Discussion started by: manju--
1 Replies

4. UNIX for Dummies Questions & Answers

Ypmatch

I cannot use my id in ypmatch. wats is the use of this. to whom I need to check it out to get done ypmatch ssmfkfaliases ypmatch: can't match ssmfkf. Reason: no such map in server's NIS domain (1 Reply)
Discussion started by: ramkumar15
1 Replies