HP Cisco MDS 9020 Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 52
dir, This example shows how to display the contents of the current working directory
View all HP Cisco MDS 9020 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 52 highlights
dir dir Chapter 1 Basic System Commands Send comments to [email protected] To display the contents of a directory, use the dir command. dir [filesystem:] [//server/] [directory] Syntax Description filesystem: //server/ directory (Optional) Name of the file system. Valid values are bootflash, debug, log, modflash, or volatile. (Optional) Name of the server. Valid values are ///, //module-1/, //sup-1/, //sup-active/, or //sup-local/. The double slash (//) is required. (Optional) Name of a directory. The directory name is case sensitive. Note There can be no spaces in the filesystem://server/directory string. Individual elements of this string are separated by colons (:) and slashes (/). Command Default Displays the contents of the current working directory. Command Modes EXEC mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. Usage Guidelines The dir command displays a listing of the files in the specified directory. For each file, it lists the size of the file in bytes, the last modified time of the file, and the filename of the file. This command then displays the usage statistics for the file system. Use the pwd command to verify the current working directory. Use the cd command to change the current working directory. Examples This example shows how to display the contents of the root directory in bootflash: switch# dir bootflash: This example shows how to display the contents of the current working directory: switch# dir 1-30 Cisco Nexus 5000 Series Command Reference OL-16599-01