Table 187: Commands for Displaying Information About Files
DescriptionCommand
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
Changing Directories and Displaying the Working Directory
Follow these steps to change directories and to display the working directory:
SUMMARY STEPS
1.
enable
2.
dir filesystem:
3.
cd directory_name
4.
pwd
5.
cd
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if prompted.enable
Step 1
Example:
Switch> enable
Displays the directories on the specified file system.
dir filesystem:
Step 2
Example:
Switch# dir flash:
For filesystem:, use flash: for the system board flash device.
To access flash partitions of switch members in a stack, use flash-n
where n is the stack member number. For example, flash-4.
Navigates to the specified directory.
cd directory_name
Step 3
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
2041
Working with the Flash File System