Command Reference File System Commands
Name of the file system, followed by a colon (:). For example, usb0:.
The following example erases the USB filesystem.
Ruijie#erase usb0:
Sure to erase usb0:? [Y/N] y
Erasing disk usb0 …
Erase disk usb0 done!
Use this command to display the information about a file.
file [ filesystem: ] file-url
The URL of file system, followed by a colon (:). The file system
includes flash:, usb: and tmp:.
The file name containing the path. A file name starts with “/” is an
absolute path. Otherwise, it is a relative path.
The default filesystem: is flash:.
The following example displays the information about gcc executable file.
Ruijie#file flash:/gcc
/usr/bin/gcc-4.6: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped