beautypg.com

Show file – Allied Telesis AT-S62 User Manual

Page 208

background image

Chapter 12: File System Commands

208

Section II: Advanced Operations

SHOW FILE

Syntax

show file[=“

filename.ext

”]

Parameter

file

Specifies the name of the file to be displayed. If the
file name contains spaces, enclose it in double
quotes. Otherwise, the quotes are optional.

If you do not specify a file name, the command
displays the names of all the files in the file system.

Description

This command displays a list of 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:

show file

The following command displays all the configuration files in the file
system:

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