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)
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.12 April 2010 ypcat(1)
Man Page
8 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
Hi all,
First of all, i am so sorry about my bad level in English writing.
I have some problem in linux and i hope the experts of this forum to help me if they have enough time to reply to me.
I have a scenario of configuring NIS and NFS in Redhat Linux environment such that user can login... (0 Replies)
When i run the following command on our server
ypcat group
or
ypcat passwd
I get list of groups and users respectively.
I am not sure whether this list is only for the groups or users on the particular server on which i executed the command or all the groups and users on all the servers in... (2 Replies)
When I try to get ipnodes it says "no such map in server's NIS domain"
but for other maps its working.
Then my query is if map is not there why it shows the entry when I "ypcat -x"
adroit:/home/seo/hitendra 37 ] ypcat -x
Use "passwd" for map "passwd.byname"
Use "group" for map... (1 Reply)
Hi Everyone,
I am looking for neat way to grep a non-empty string that basically contains a hostname, which might be in FWDN form or without the domain, for example:
hostname.internal.domainname.net
The file I am parsing contains blan lines (^$) and also series of "-" which in other places... (2 Replies)
hello guys
I was wondering if somebody can help me to write a script that use a ypcat comand to list a gruop of memebers and the passwrod file and I can arrange the output as a following
5 : fac
6 : office
6 : mkl
18 : system
20 : xsystems
21 : guest (1 Reply)
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)