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
Check Out this Related Man Page
ypcat(1) General Commands Manual ypcat(1)NAME
ypcat - print values of all keys in a NIS database
SYNOPSIS
ypcat [ -kt ] [ -d domain ] [ -h hostname ] mapname
ypcat -x
DESCRIPTION
ypcat prints the values of all 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(8).
-h hostname
Specify a hostname other than the default one as found by ypbind(8).
-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), ypmatch(1), yppoll(8), ypserv(8), ypset(8), ypwhich(1)AUTHOR
ypcat is part of the yp-tools package, which was written by Thorsten Kukuk <kukuk@linux-nis.org>.
YP Tools 2.14 April 2010 ypcat(1)
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)
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)
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)