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
ypwhich(1) General Commands Manual ypwhich(1)NAME
ypwhich - return name of NIS server or map master
SYNOPSYS
ypwhich [ -d domain ] [ -Vn ] [ hostname ]
ypwhich [ -d domain ] [ -t ] -m [ mname ]
ypwhich -x
DESCRIPTION
ypwhich returns the name of the NIS server that supplies the NIS services to a NIS client, or which is the master for a map. If invoked
without arguments, it gives the NIS server for the local machine. If hostname is specified, that machine is queried to find out which NIS
master it is using.
OPTIONS -d domain
Specify a domain other than the default domain.
-t This option inhibits map nickname translation.
-m mname
Find the master NIS server for a map. No hostname can be specified with the -m option. mname can be a mapname or nickname for a
map. If mname is omitted, ypwhich will produce a list of available maps.
-x Display the map nickname translation table.
-Vn Version of ypbind(8), V2 is default.
FILES
/var/yp/nicknames
map nickname translation table.
SEE ALSO domainname(8), nicknames(5), ypbind(8), ypcat(1), ypmatch(1), yppoll(8), ypserv(8), yset(8)AUTHOR
ypwhich is part of the yp-tools package, which was written by Thorsten Kukuk <kukuk@suse.de>.
YP Tools 2.7 May 1998 ypwhich(1)
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)
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)
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)
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)
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)