nwcx(1nuc)
nwcx --
view and change NDS context/view NDS tree structure
Synopsis
nwcx [-a] [-c] [-cont] [-r] [-t] [context] [-ver] [-?]
Description
Use nwcx to view or change the NetWare® Directory Services
(NDS) context for your current NetWare connection, and to view
containers and leaf objects in the current NDS tree structure.
Used with no parameters or options, nwcx displays the current
context.
Options
The parameters and options are:
- -a
-
Include all objects at or below the context. Use with -t or
-cont.
- -c
-
Scroll continuously through output.
- -cont
-
List containers at the current context or a specified context in a
vertical list with no structure.
- -r
-
List containers at the root of the current NDS tree, or change context
in relation to the root.
- -t
-
List containers below the current context or a specified context in a
tree structure.
- context
-
Move to a new context or specify the context you want for an option.
- -?
-
View command-line help for nwcx. Any other parameters or options
are ignored.
- -ver
-
Print nwcx version information.
The nwcx command allows you to change NDS contexts and
view all NDS objects defined below a given container. It is
analogous to the
cd(1)
and
ls(1)
commands which allow you to change UnixWare filesystem directories and
view the files within them.
Usage
To set your new context from the root, you can: place a period in front
of the new context you type; enter the proper number of trailing periods
to reach the root level; or, use the -r option.
nwcx does not recognize spaces in object names. If you have
spaces in container names, put quotation marks around the names or use
underscores (_) in place of the spaces. For example, for container
CORPORATE ADMIN, you can type ``Corporate Admin'' or
``Corporate_Admin''.
Examples
To display the current context:
nwcx
To back up one level in the directory tree:
nwcx .
From PRV.CORP, to go down two levels to make your context
SYS.ENG.PRV.CORP:
nwcx SYS.ENG
To change your current context from TEST.PRV.CORP.US to
SYS.MKTG.PROVO.CORP.US:
nwcx .SYS.MKTG.PRV.CORP.US
To change to the root directory when your context is TEST.PRV.CORP,
use either of:
nwcx ...
nwcx -r
To change complete context from TEST.PRV.CORP to
TEST.PARIS.CORP:
nwcx .TEST.PARIS.CORP
To show all containers in the current context:
nwcx -cont
References
net.cfg(4)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.