Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ypmatch(1) [redhat man page]

ypmatch(1)						      General Commands Manual							ypmatch(1)

NAME
ypmatch - print the values of one or more keys from a NIS map SYNOPSYS
ypmatch [ -kt ] [ -d domain ] key ... mapname ypmatch -x DESCRIPTION
ypmatch prints the values of one or more keys from the NIS database specified by mapname, which may be a map name or a map nickname. OPTIONS
-d domain Specify a domain other than the default domain as returned by domainname(1). -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 This option inhibits map nickname translation. -x Display the map nickname translation table. FILES
/var/yp/nicknames map nickname translation table. SEE ALSO
domainname(8), nicknames(5), ypbind(8), ypcat(1), yppoll(8), ypserv(8), yset(8), ypwhich(1) AUTHOR
ypmatch is part of the yp-tools package, which was written by Thorsten Kukuk <kukuk@suse.de>. YP Tools 2.7 May 1999 ypmatch(1)

Check Out this Related Man Page

ypmatch(1)						      General Commands Manual							ypmatch(1)

NAME
ypmatch - print the values of one or more keys from a NIS map SYNOPSYS
ypmatch [ -kt ] [ -d domain ] key ... mapname ypmatch -x DESCRIPTION
ypmatch prints the values of one or more keys from the NIS database specified by mapname, which may be a map name or a map nickname. OPTIONS
-d domain Specify a domain other than the default domain as returned by domainname(1). -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 This option inhibits map nickname translation. -x Display the map nickname translation table. FILES
/var/yp/nicknames map nickname translation table. SEE ALSO
domainname(8), nicknames(5), ypbind(8), ypcat(1), yppoll(8), ypserv(8), yset(8), ypwhich(1) AUTHOR
ypmatch is part of the yp-tools package, which was written by Thorsten Kukuk <kukuk@suse.de>. YP Tools 2.9 May 1999 ypmatch(1)
Man Page

11 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

format output

I have a text file that I want a script to parse and grab only the relavent stuff. No idea where to start.. This is the text file.212 0.00000 ? -> (multicast) ETHER Type=2000 (Unknown), size = 344 bytes 0: 0100 0ccc cccc 000b 5f95 0fbe 014a aaaa ........_....J..... (7 Replies)
Discussion started by: Tornado
7 Replies

3. UNIX for Dummies Questions & Answers

Unix command in mind map

I found this link that might be useful for a newbie to remember unix commands. It use mind map technique and summarize everything within one page. http://mind-map-you.blogspot.com/2006/12/unix-command-in-mind-map.html (0 Replies)
Discussion started by: bani100
0 Replies

4. Post Here to Contact Site Administrators and Moderators

changing my nickname

Hello, is it possible to change my nickname? Thank you. (4 Replies)
Discussion started by: Bashar
4 Replies

5. 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

6. HP-UX

Vi map command

Hi, I'm trying to map a vi editor key to some commands. I'm using HP-UX 11.11. the command looks like map ~cmnt o * Suman Satpathy : <Esc> :r! date "\%d\%m\%y" <Esc> j$J basically my idea is to map a shortcut for my commentlines. but when I run the shortcut it inserts the line as below *... (1 Reply)
Discussion started by: sumansatpathy
1 Replies

7. Linux

Names/nicknames for certain punctuation

(0 Replies)
Discussion started by: SilversleevesX
0 Replies

8. Shell Programming and Scripting

printing keys only using map

Hello everyone, Can anyone give me a suggestion on lines below: %hash = map {($_, -M "$dir/$_")} readdir D; print map "$_\n", sort values %hash; The thing is this will print the floating point numbers of files recently created/modified. I'd like to print out the file names only while... (0 Replies)
Discussion started by: new bie
0 Replies

9. 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

10. UNIX for Advanced & Expert Users

NIS-to-LDAP translation tools (yp2ldap)

I've recently published a set of tools that allow you to continue to use the ypwhich, ypcat and ypmatch tools in an environment where NIS maps have been migrated to LDAP using the RFC2307 schema. Traditionally in such an environment, only the NSS functionality is LDAP-enabled, meaning that... (0 Replies)
Discussion started by: cambridge
0 Replies

11. 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