Sun Microsystems X4150 CLI Command Reference, Targets and Properties, cd target, hhelp, Syntax

Models: X4150

1 150
Download 150 pages 45 Kb
Page 115
Image 115
CLI Command Reference

CLI Command Reference

This section provides reference information about the CLI commands.

cd

Use the cd command to navigate the namespace. When you use cd to change to a target location, that location then becomes the default target for all other commands.

Using the - default option with no target returns you to the top of the namespace. Typing just cd displays your current location in the namespace. Typing help targets displays a list of all targets in the entire namespace.

Syntax

cd target

Options

[-hhelp]

Targets and Properties

Any location in the namespace.

Examples

To create a user named sally, use cd to change to /SP/User, then execute the create command with /SP/User as the default target.

SP->cd /SP/User

SP->create sally

Appendix A Command-Line Interface Reference 99

Page 115
Image 115
Sun Microsystems X4150 CLI Command Reference, Targets and Properties, cd target, hhelp, SP- cd /SP/User SP- create sally