This chapter describes the Cisco Nexus 1010 commands that begin with the letter F.
find
To find filenames beginning with a character string, use the find command.
findfilename-prefix
Syntax Description
filename-prefix
First part or all of a filename. The filename prefix is case sensitive.
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
Command History
Release
Modification
4.0(4)SP1(1)
This command was introduced.
Usage Guidelines
The find command searches all subdirectories under the current working directory. You can use the cd and pwd commands to navigate to the starting directory.
Examples
This example shows how to display filenames beginning with ospf:
switch# find ospf
/usr/bin/find: ./lost+found: Permission denied
./ospf-gr.cfg
./ospfgrconfig
./ospf-gr.conf
Related Commands
Command
Description
cd
Changes the current working directory.
pwd
Displays the name of the current working directory.
format
To format an external Flash device to erase the contents and restore it to its factory-shipped state, use the format command.
format filesystem:
Syntax Description
filesystem:
Name of the file system. The valid values are bootflash, logflash,slot0, usb1, or usb2.
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
Command History
Release
Modification
4.0(4)SP1(1)
This command was introduced.
Examples
This example shows how to format an external Flash device:
switch# format slot0:
Related Commands
Command
Description
cd
Changes the current working directory.
dir
Displays the directory contents.
pwd
Displays the name of the current working directory.