139
The directory 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 directories in the current directory.
<Sysname> dir /all
Directory of flash:/
...
# Display files and directories in the root directories of all file systems on the device.
<Sysname> dir /all-filesystems
Directory of flash:/
...
Directory of usba0:/
...
Table 21 Command output
Field Description
Directory of Current directory.
0 -rwh 3144 Apr 26
2014 13:45:28 xx.xx
File or directory information:
• 0—File or directory number, which is automatically allocated by the
system.
• -rwh—Attributes of the file or directory. The first character is the directory
indicator (d for directory and – for file). The second character indicates
whether the file or directory is readable (r for readable). The third
character indicates whether the file or directory is writable (w for
writable). The fourth character indicates whether the file or directory is
hidden (h for hidden, - for visible). Modifying, renaming, or deleting
hidden files might affect functions.
• 3144—File size in bytes. For a directory, a hyphen (-) is displayed.
• Apr 26 2014 13:45:28—Last date and time when the file or directory was
modified.
• xx.xx—File or directory name.
fdisk
Use fdisk to partition a storage medium.
Syntax
fdisk medium [ partition-number ]
Views
User view
Predefined user roles
network-admin
Parameters
medium: Specifies the name of the storage medium to be partitioned.