HP StorageWorks Command View SDM Installation and User Guide (T1086-96023, February 2005)

196 Command Line User Interface
> filename Use the specified file as standard output. If the file does not exist, it is created.
If the file exists, it is overwritten. If more than one argument is given, only the
first argument is used. All other arguments are ignored.
cd [directory] Change the current working directory. If no argument is given, nothing occurs.
If a directory is specified in absolute terms then it becomes the new working
directory. If a directory is specified in relative terms, then starting from the
current directory the new working directory is made. If more than one
argument is given only the first argument is used, all other arguments are
ignored except for the > command.
exitCode Display the error code of the last command run.
exit Exit the armshell environment.
echo [on|off] Controls the state of command echo. If no argument is included, the state is
toggled. Performs the same function as the command -e option.
ls [filename...][directory...] List files in the current working directory (similar to the UNIX ls command). For
each directory argument, list the contents of the directory. For each file
argument, repeat its name and any other information requested. The output is
sorted in ascending collation order by default.
When no argument is given, the current directory is listed. When several
arguments are given, the arguments are first sorted, but file arguments appear
before directories and their contents. Directories are distinguished by a
trailing slash.
print filename Read a command file and write it on the standard output. If more than one
argument is given, only the first argument is used. All other arguments are
ignored, except for the > command.
The number of lines written to the standard output before pausing defaults to
25. This can be changed through the setLines command. If the number of lines
in the file exceeds what can be written in a single page, then paging will
occur. Paging only occurs in the forward direction.
pwd Print the path name of the current working directory.
record [filename] Direct the command output to the specified file rather than the screen. If
[filename] is not specified, the output is displayed on the screen.
help [commandname] Displays usage information for the specified command. The output is the same
as that displayed when using the ? option with the command.
If no command is specified, the output lists the commands available from
within the armshell environment.