CX
View/change context or view containers and leaf objects in your tree
structure.
Synopsis
CX [new_context] [/R] [/T |
/CONT | /A] [/C][/?| /VER]
Description
Use CX at a workstation to view or change your context or view
containers and leaf objects in your tree structure.
Options
Used with no options, CX displays the current context.
- new_context
-
Move to a new context or specify the context you want for an option.
- /R
-
List containers at the root level, or change context in relation to the root.
- /T
-
List containers below the current context or a specified context in a tree
structure.
- /CONT
-
List containers at the current context or a specified context in a vertical
list with no structure.
- /A
-
Include all objects at or below the context. Use with /T or
/CONT.
- /C
-
Scroll continuously through output.
- /?
-
View online help. (Other parameters are ignored).
- /VER
-
View the version number of the utility and the list of files it uses to
execute. (Other parameters are ignored.)
Usage
CX is similar to the DOS CD and DIR commands
in that CX allows you to change contexts and view all objects
below a given container.
To set your new context from the root directory:
-
place a period in front of the new context you type
-
enter the proper number of trailing periods to reach the root level
-
use the root option
CX 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, type ``Corporate
Admin'' or ``Corporate_Admin''.
You might need to use CX before logging in to set your context to
the same value as the name context specified in your NET.CFG file.
Examples
-
To display the current context, type:
CX
-
To back up one level in the directory tree, type:
CX .
-
To move down from COMPANYB two levels to make your context
SYS.ENG.COMPANYB, type:
CX SYS.ENG
-
To change your current context from TEST.COMPANYB.US to
SYS.MKTG.COMPANYB.US, type:
CX .SYS.MKTG.COMPANYB.US
or
CX .
CX SYSTEM
-
To change to the root when your context is TEST.COMPANYB, type:
CX . . .
or
CX /R
-
To change complete context from TEST.COMPANYB to
TEST.COMPANYA, type:
CX .TEST.COMPANYA
-
To show all containers in the current context, type:
CX /CONT
© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999