previous next trail start tutorial home feedback openwings.org

The lcd, pwd, and lls commands

As we'll see shortly with the install and edit commands, we often want to specify a file in the local file system.  To make this easier, the Openwings shell keeps track of your current "location" in the file system.  You can see your current place in the file system using the pwd command (lpwd does the same thing), and change your location with the lcd command.  View files in the current working directory with the lls (or ldir) command.

Syntax:

lcd <path>
pwd
lls [-l] [<path>]

Example:

Openwings@root\> pwd

  Y:\cots2\openwings-1.0\bin

Openwings@root\> lcd ..\lib

  Y:\cots2\openwings-1.0\lib

Openwings@root\> lls

  gd_component.jar
  gd_connector.jar
  gd_data.jar
  gd_dev_tools.jar
  gd_java.jar
  gd_management.jar
  ...

Notice that when you change directories on the local file system with the lcd command, the shell automatically prints the new working directory to ease navigation.

Next: The install command

back to top

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

previous next trail start tutorial home feedback openwings.org