Title | Previous | Next

ls

List the contents of a directory within the current SILO file.

Synopsis:

ls [ " options " ] [pathname_list]

Arguments:

options

A letter or string of letters preceded by a dash and encased in quotes. Default is "- dmv ". See table below.

pathname_list

One or more pathnames to list. These can be relative or absolute.

Option

Meaning

-a

List everything in file. Activates the -c, -d, -m, -r, and -v flags.

-c

List curves.

-d

List directories.

-l

Produce a long list containing additional information.

-m

List meshes (both point, quad, and UCD mesh objects. (See SILO User's Guide, UCRL-MA-118751.).

-r

List material (region) information.

-v

List all quadvars, ucdvars, pointvars, and miscellaneous objects. See the SILO User's Guide for more information about these object types

Description:

The ls command operates on a SILO file in the same manner than the UNIX TM ls command operates on the UNIX TM file system. The user has control via the command options over which types of objects are listed. Without any options, ls lists directories, meshes, and mesh variables. The ls command understands both absolute and relative pathnames, hence the path ` .. ' means to list the contents of the parent directory. Without any path arguments, ls lists the contents of the current SILO directory. Because this is a SILO file path and not a UNIX TM file path, ~ username syntax is not allowed.

When a file is opened, the active directory is the root directory, indicated by a slash " / ". By using the ls and cd commands, the user can navigate through a SILO file.

Examples:

ls

ls "-v" ..

ls ../other_dir

See Also:

cd , close , open , pwd , SILO User's Guide


Title | Previous | Next

MeshTV@viper.llnl.gov
Copyright © 1998, U.S. Department of Energy. All rights reserved.