Displaying Information About Files On A File System; Changing Directories And Displaying The Working Directory; Creating And Removing Directories - Cisco 3200 Series Hardware Reference Manual

Hide thumbs Also See for 3200 Series:
Table of Contents

Advertisement

Chapter 7
Managing Firmware and Configurations
By default, the default file system is flash:.
You can display the current default file system as specified by the cd command by using the pwd
privileged EXEC command.

Displaying Information About Files on a File System

You can view a list of the contents of a file system before manipulating its contents. For example, before
copying a new configuration file to flash memory, you might want to verify that the file system does not
already contain a configuration file with the same name. Similarly, before copying a flash configuration
file to another location, you might want to verify its filename for use in another command.
To display information about files on a file system, use one of the privileged EXEC commands in
Table
Table 7-2
Commands for Displaying Information About Files
Command
dir [/all] [filesystem:][filename]
show file systems
show file information file-url
show file descriptors

Changing Directories and Displaying the Working Directory

To change directories and display the working directory, follow these steps, beginning in privileged EXEC
mode:
Command
Step 1
dir filesystem:
Step 2
cd new_configs
Step 3
pwd

Creating and Removing Directories

Beginning in privileged EXEC mode, follow these steps to create and remove a directory:
OL-5816-10
7-2:
Description
Displays a list of files on a file system.
Displays more information about each of the files on a file system.
Displays information about a specific file.
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.
Purpose
Displays the directories on the specified file system.
For filesystem:, use flash: for the system board flash device.
Changes to the directory of interest.
The command example shows how to change to the directory named
new_configs.
Displays the working directory.
Working with the Flash File System
Cisco 3200 Series Router Hardware Reference
7-3

Advertisement

Table of Contents
loading

Table of Contents