Changing Directories and Displaying the Working Directory
Follow these steps to change directories and to display the working directory:
Procedure
PurposeCommand or Action
Enables privileged EXEC mode.enable
Step 1
Example:
• Enter your password if prompted.
Device> enable
Displays the directories on the specified file
system.
dir filesystem:
Example:
Step 2
For filesystem:, use flash: for the system board
flash device.
Device# dir flash:
Navigates to the specified directory.cd directory_name
Step 3
Example:
The command example shows how to navigate
to the directory named new_configs.
Device# cd new_configs
Displays the working directory.pwd
Example:
Step 4
Device# pwd
Navigates to the default directory.cd
Example:
Step 5
Device# cd
Creating Directories
Beginning in privileged EXEC mode, follow these steps to create a directory:
Procedure
PurposeCommand or Action
Displays the directories on the specified file
system.
dir filesystem:
Example:
Step 1
For filesystem:, use flash: for the system board
flash device.
Device# dir flash:
System Management Configuration Guide, Cisco IOS XE Amsterdam 17.2.x (Catalyst 9500 Switches)
285
Working with the Flash File System
Changing Directories and Displaying the Working Directory