5 ls – CANOGA PERKINS 9171 Command Reference User Manual
Page 657

CanogaOS Command Reference
39-4
Related Commands
ls
39.5 ls
To display a list of files on a file system, use the ls command in EXEC mode.
Command Syntax
ls [flash:][directory-name][file-name]
flash:
The
flash
system
directory-name The directory in flash:
file-name
The file name.
Command Mode
EXEC
Default
The default file system is specified by the cd command.
Usage
Use the show (Flash file system) command to display flash information.
Examples
The following is sample output from the ls command:
Switch# ls
Directory of flash:/
total 42
drwxr-xr-x 2 0 Jul 30 15:42 boot
drwxr-xr-x 3 0 Jan 1 1970 conf
drwxr-xr-x 2 0 Jan 1 1970 log
-rw-r----- 1 1020 Jul 29 19:18 startup-config.conf
-rw-r--r-- 1 10270 Jul 30 10:10 syslog
-rw-r--r-- 1 6886 Jul 29 23:59 syslog.1.gz
63.0M bytes total (30.4M bytes free)
Switch#
Related Commands
dir