NSQUERY(1M) (Remote File Sharing Utilities) NSQUERY(1M)
NAME
nsquery - Remote File Sharing name server query
SYNOPSIS
nsquery [-h] [name]
DESCRIPTION
nsquery provides information about resources available to
the host from both the local domain and from other domains.
All resources are reported, regardless of whether the host
is authorized to access them. When used with no options,
nsquery identifies all resources in the domain that have
been advertised as sharable. A report on selected resources
can be obtained by specifying name, where name is:
nodename The report will include only those
resources available from nodename.
domain. The report will include only those
resources available from domain.
domain.nodename The report will include only those
resources available from domain.nodename.
When the name does not include the delimiter ".", it will be
interpreted as a nodename within the local domain. If the
name ends with a delimiter ".", it will be interpreted as a
domain name.
The information contained in the report on each resource
includes its advertised name (domain.resource), the
read/write permissions, the server (nodename.domain) that
advertised the resource, and a brief textual description.
When -h is used, the header is not printed.
A remote domain must be listed in your rfmaster file in
order to query that domain.
EXIT STATUS
Page 1 May 1989
NSQUERY(1M) (Remote File Sharing Utilities) NSQUERY(1M)
If no entries are found when nsquery is executed, the report
header is printed.
ERRORS
If your host cannot contact the domain name server, an error
message will be sent to standard error.
SEE ALSO
adv(1M), unadv(1M).
rfmaster(4) in the Programmer's Reference Manual.
Page 2 May 1989