Show file – Allied Telesis AT-S63 User Manual

Page 272

Advertising
background image

Chapter 15: File System Commands

272

Section II: Advanced Operations

SHOW FILE

Syntax

show file[=[cflash:]

filename.ext

]

Parameter

file

Specifies the name of the file to be displayed. Use
double quotes to enclose the name if it contains
spaces. Otherwise, the quotes are optional. To view
a file on a flash memory card, precede the name with
“cflash”.

If you do not specify a file name, the command lists
all the files in the flash memory as well as on a
compact flash card, if one is installed in the switch.

Description

This command lists the files in the switch’s file system. You can use the
wildcard “*” to replace any part of the filename to allow a more selective
display.

You can also use this command to view the contents of a configuration
file.

Examples

The following command displays all the files in the switch’s file system and
the current directory of the flash memory card:

show file

The following command displays all the configuration files on the switch:

show file=*.cfg

The following command displays the contents of the configuration file
sw12.cfg in the switch’s file system:

show file=sw12.cfg

The following command displays the contents of the configuration file
boot.cfg on a compact flash card:

show file=cflash:boot.cfg

Command

Available

AlliedWare Plus

Advertising