ls
ls
List
Use ls to list the contents of the working directory. The filename is listed for each entry. The total space
of the file system and free space is also summarized at the end of the output.
Cards on Which This Command Runs
PXM45
Syntax
ls
[dir]
Syntax Description
You can specify an optional directory or path to list.
Related Commands
cd, pwd, rename, copy
Attributes
Log: no log
Examples
List all the files at the highest level of the disk.
MGX8850.7.PXM.a > ls
SM
FW
DIAG
STATS
TMP
CNF
RPM
LOG
clrDB
upgrade.state
config.sys
DB
In the file system :
Change to the SCT directory. List all files in the SCT directory, then list the files in the AXSM directory.
MGX8850.7.PXM.a > cd /SCT
MGX8850.7.PXM.a > ls
.
Cisco MGX 8850 Routing Switch Command Reference
1-22
State: active, standby, init
total space :
819200 K bytes
free
space :
700583 K bytes
Chapter 1
Command Line Interface Overview
Privilege: ANYUSER
Release 2.0, Part Number 78-10467-04 Rev C0, October 2001