Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

nicknames(5) [netbsd man page]

NICKNAMES(5)						      BSD File Formats Manual						      NICKNAMES(5)

NAME
nicknames -- map nickname translation file for NIS (YP) DESCRIPTION
The ypcat(1), ypmatch(1), and ypwhich(1) commands reference NIS (YP) maps as specified by the user. Occasionally it is desirable to use a shorthand reference for a longer map name, hence the nicknames file, kept in ``/var/yp/nicknames.'' The format of the file is nickname map one pair per line. The default installed nickname map is as follows: passwd passwd.byname group group.byname networks networks.byaddr hosts hosts.byname protocols protocols.bynumber services services.byname aliases aliases.byname ethers ethers.byname master.passwd master.passwd.byname A blank or incomplete nicknames file will affect any scripts which use nicknames for map lookup, whereas if the file is simply missing, the default compiled-in list will be used. SEE ALSO
ypcat(1), ypmatch(1), ypwhich(1) HISTORY
The nicknames file first appeared in Solaris 2.4. BSD
August 28, 2003 BSD

Check Out this Related Man Page

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

NAME
ypmatch -- print the values of one or more keys in a NIS database SYNOPSIS
ypmatch [-ktz] [-d domainname] key ... mapname ypmatch -x DESCRIPTION
ypmatch prints out the values of one or more 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 Print the map key followed by a colon, before printing key value. 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, 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). -z Append a NUL character at the end of the key when doing the lookup. This is useful for mail.aliases maps, which include a trailing NUL in the keys. SEE ALSO
domainname(1), ypcat(1), ypwhich(1), nicknames(5), nis(8), ypbind(8), yppoll(8), ypset(8) AUTHORS
Theo De Raadt Greywolf BSD
June 20, 2009 BSD
Man Page

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Solaris , *BSD

Are Solaris's commands the same with *BSD's commands ? Thanks (1 Reply)
Discussion started by: Sasuke
1 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. AIX

vpath to an hdisk

Is there a simply way for me to map a vpath to an hdisk on AIX 5.2? (5 Replies)
Discussion started by: 2dumb
5 Replies

4. Shell Programming and Scripting

lookup in a list

I have a list of ids and a master list. I need to display entries from the master list matching ids in the first list. The master list is space delimited, id is 1st field. $ cat id_list 2010 7 51 $ cat master_list 1 one detail1 detail2 2 two detail1 avg1 detail2 avg2 ... etc ... ... (3 Replies)
Discussion started by: migurus
3 Replies

5. Linux

Names/nicknames for certain punctuation

(0 Replies)
Discussion started by: SilversleevesX
0 Replies

6. What is on Your Mind?

Names/nicknames for certain punctuation

I know that forward slash and backslash are "whack" and "backwhack," and I know that a pound-sign or number sign is "crunch" and an exclamation point, "bang." What I would like to know is whether or not there's a popular nickname for the dollar sign. I call it "cash," but that may just be Yank... (6 Replies)
Discussion started by: SilversleevesX
6 Replies

7. Shell Programming and Scripting

How to pass tablenames from a file to shell script to execute create statement in DB2

Hi, I am new to Shell Scripting, and I need to create nicknames for 600 tables in db2. I have the file names in a text file and i have to pass these table names to a shell script create nicknames in db2. Can some one please help me in this regard. (1 Reply)
Discussion started by: kamalanaatha
1 Replies

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