previous next trail start tutorial home feedback openwings.org

The cd command

The cd, or chdir, command is used to navigate the hierarchy of Openwings Entities.  It is used similarly to the cd command in Unix or DOS.

Syntax: cd <path>

When you start the shell, you are at the root of the hierarchy.  To alert you to this, the shell prompt reads Openwings@Root.   A sample hierarchy of Openwings entities is illustrated in the following diagram:

To move around, use the ls command to display a list of the entities directly under the current location in the hierarchy.   Then use cd to change your current location to one of those entities.

Example:

Openwings@root/> ls

PLATFORMS:
  PC1-10.10.10.1
  PC2-10.10.10.2

Openwings@root/> cd PC1-10.10.10.1

Openwings@root/PC1-10.10.10.1/>

Next: The lcd, pwd, and lls commands

back to top

© Copyright 2002, General Dynamics Decision Systems. All rights reserved.

previous next trail start tutorial home feedback openwings.org