Table 12: Commands for Displaying Information About Files
Description
Command
Displays a list of files on a file system.
dir [/all]
[filesystem:filename]
Displays more information about each of the files on a file system.
show file systems
Displays information about a specific file.
show file information
file-url
Displays a list of open file descriptors. File descriptors are the internal
representations of open files. You can use this command to see if another user
has a file open.
show file descriptors
For example, to display a list of all files in a file system, use the
dir
privileged EXEC command:
device#
dir flash:
DDirectory of bootflash:/
616513
drwx
4096
Jul 15 2015 07:11:35 +00:00
.installer
608402
-rw-
33818
Sep 25 2015 11:41:35 +00:00
bootloader_evt_handle.log
608403
drwx
4096
Feb 27 2017 13:56:47 +00:00
.ssh
608410
-rw-
0
Jun 5 2015 10:16:17 +00:00
dc_stats.txt
608411
drwx
20480
Sep 23 2015 11:50:13 +00:00
core
624625
drwx
4096
Sep 23 2015 12:29:27 +00:00
.prst_sync
640849
drwx
4096
Feb 27 2017 13:57:30 +00:00
.rollback_timer
608412
drwx
4096
Jun 17 2015 18:12:47 +00:00
orch_test_logs
608413
-rw-
33554432
Sep 25 2015 11:43:15 +00:00
nvram_config
608417
-rw-
35
Sep 25 2015 20:17:42 +00:00
pnp-tech-time
608439
-rw-
214054
Sep 25 2015 20:17:48 +00:00
pnp-tech-discovery-summary
608419
drwx
4096
Jul 23 2015 07:50:25 +00:00
util
616514
drwx
4096
Mar 18 2015 11:09:04 +00:00
onep
608442
-rw-
556
Mar 18 2015 11:19:34 +00:00
vlan.dat
608448
-rw-
1131779
Mar 28 2015 13:13:48 +00:00
log.txt
616516
drwx
4096
Apr 1 2015 09:34:56 +00:00
gs_script
616517
drwx
4096
Apr 6 2015 09:42:38 +00:00
tools
608440
-rw-
252
Sep 25 2015 11:41:52 +00:00
boothelper.log
624626
drwx
4096
Apr 17 2015 06:10:55 +00:00
SD_AVC_AUTO_CONFIG
608488
-rw-
98869
Sep 25 2015 11:42:15 +00:00
memleak.tcl
608437
-rwx
17866
Jul 16 2015 04:01:10 +00:00
ardbeg_x86
632745
drwx
4096
Aug 20 2015 11:35:09 +00:00
CRDU
632746
drwx
4096
Sep 16 2015 08:57:44 +00:00
ardmore
608418
-rw-
1595361
Jul 8 2015 11:18:33 +00:00
system-report_RP_0_20150708-111832-UTC.tar.gz
608491
-rw-
67587176
Aug 12 2015 05:30:35 +00:00
mcln_x86_kernel_20170628.SSA
608492
-rwx
74880100
Aug 12 2015 05:30:57 +00:00
stardust.x86.idprom.0718B
11250098176 bytes total (9128050688 bytes free)
device#
Changing Directories and Displaying the Working Directory
Follow these steps to change directories and to display the working directory:
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
216
Working with the Flash File System
Changing Directories and Displaying the Working Directory