System information
Operation SHOW FILE 1-107
Software Release 2.0.1
C613-03018-00 REV A
SHOW FILE
Syntax
SHOW FILE[=filename]
where:
■
filename is a file identifier of the form
[device:]name.ext
. Valid characters
are the lowercase letters (a–z), digits (0–9) and the hyphen character (-).
Wildcards are allowed in the name and extension elements.
Description
This command displays a list of the files in the file subsystem that match the
specified file name (Figure 1-21 on page 1-107, Table 1-19 on page 1-107).
Wildcards can be used to replace any part of the file identifier to allow a more
selective display. If the file name matches an explicit file and the file is an ASCII
text file, the contents of the file are displayed.
Figure 1-21: Example output from the SHOW FILE command.
Examples
To display all the patch files on the router, use the command:
SHOW FILE=*:*.PAT
To display the contents of the script file CONFIG.SCP, use the command:
SHOW FILE=CONFIG.SCP
See Also
DELETE FILE
Filename Device Size Created
---------------------------------------------------------------
28-72.pat flash 111764 05-May-1997 12:41:42
28-74ang.rel flash 2013756 09-May-1997 15:58:55
28f72-06.pat flash 123268 18-Apr-1997 15:58:16
release.lic flash 32 08-May-1997 16:43:49
test.cfg flash 1698 09-May-1997 10:39:42
config.ins nvs 32 09-May-1997 10:22:46
---------------------------------------------------------------
Table 1-19: Parameters displayed in the output of the SHOW FILE command.
Parameter Meaning
Filename The name of the file.
Device The device on which the file is physically stored; one of “flash” or “nvs”.
Size The size of the file in bytes, as a decimal number.
Created The date and time the file was created.