Using the Device File Systems, Directories, and Files
DETAILED STEPS
Command or Action
Step 1
show-command > [filesystem:[//module/][directory] | [directory
/]]filename
Example:
switch# show tech-support > bootflash:techinfo
Finding Files
You can find the files in the current working directory and its subdirectories that have names that begin with
a specific character string.
SUMMARY STEPS
1. (Optional) pwd
2. (Optional) cd {filesystem:[//module/][directory] | directory}
3. find filename-prefix
DETAILED STEPS
Command or Action
Step 1
pwd
Example:
switch# pwd
Step 2
cd {filesystem:[//module/][directory] | directory}
Example:
switch# cd bootflash:test_scripts
Step 3
find filename-prefix
Example:
switch# find bgp_script
Working with Archive Files
The Cisco NX-OS software supports archive files. You can create an archive file, append files to an existing
archive file, extract files from an archive file, and list the files in an archive file.
OL-30890-01
Purpose
(Optional)
Displays the name of your current default directory.
(Optional)
Changes the default directory.
Finds all filenames in the default directory and in its
subdirectories beginning with the filename prefix. The
filename prefix is case sensitive.
Cisco Nexus 5500 Series NX-OS Fundamentals Configuration Guide, Release 7.x
Finding Files
Purpose
Redirects the output from a show command
to a file.
115