Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ypcat(1) [netbsd 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

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

4 More Discussions You Might Find Interesting

1. Linux

Names/nicknames for certain punctuation

(0 Replies)
Discussion started by: SilversleevesX
0 Replies

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

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

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