Dir - H3C S5830V2 Command Reference Manual

Switch series fundamentals
Hide thumbs Also See for S5830V2:
Table of Contents

Advertisement

dir

Use dir to display files or folders.
Syntax
dir [ /all ] [ file-url | /all-filesystems ]
Views
User view
Predefined user roles
network-admin
Parameters
/all: Displays all files and folders in the current directory, visible or hidden. If you do not specify this
option, only visible files and folders are displayed.
file-url: Displays a specific file or folder. The file-url argument can use the asterisk (*) as a wildcard.
For example, to display files with the .txt extension in the current directory, enter dir *.txt.
/all-filesystems: Displays files and folders in the root directory of all storage media on the device.
Usage guidelines
If no option is specified, the command displays all visible files and folders in the current directory.
The folder name of the recycle bin is .trash. To display files in the recycle bin, use either of the
following methods:
Execute the dir /all .trash command.
Execute the cd .trash command and then the dir command.
Examples
# Display information about all files and folders in the storage medium of the master.
<Sysname> dir /all
Directory of flash:/
...
# Display files and folders in the root directory of all storage media on the IRF fabric.
<Sysname> dir /all-filesystems
Directory of flash:/
...
Directory of slot1#flash:/
...
# Display information about all files and folders in the storage medium of the subordinate member
with the member ID 2.
<Sysname> cd slot2#flash:/
<Sysname> dir /all
Directory of slot2#flash:/
...
Table 17 Command output
Field
Directory of
Description
Current directory.
118

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5820v2

Table of Contents