Appendix A
Privileged Exec Mode Commands
SCE 1000 2xGBE Release 2.0.10 User Guide
OL-7117-02 A-71
delete file-name [/recursive]
Deletes a file from the local flash file system.
Use the recursive switch to delete a complete directory and its contents. When used with the
recursive switch, the filename argument specifies a directory rather than a file.
Authorization admin
Mode Privileged EXEC
P
ARAMETERS
file-name The name of the file or directory to be deleted.
E
XAMPLE 1:
The following example deletes the oldlog.txt file.
SCE 1000#delete oldlog.txt
SCE 1000#
EXAMPLE 2:
The following example deletes the oldlogs directory.
SCE 1000#delete oldlogs /recursive
3 files and 1 directories will be deleted.
Are you sure? y
3 files and 1 directories have been deleted.
SCE 1000#
dir [applications] [-r]
Displays the files in the current directory.
Authorization admin
Mode Privileged EXEC
P
ARAMETERS
applications Filters the list of files to display only the application files in the
current directory.
-r Includes all files in the subdirectories of the current directory as well as the
files in the current directory.
E
XAMPLE:
The following example displays the files in the current directory (root).
SCE 1000#dir
File list for /tffs0/
512 TUE JAN 01 00:00:00 1980 LOGDBG DIR
512 TUE JAN 01 00:00:00 1980 LOG DIR
7653 TUE JAN 01 00:00:00 1980 FTP.SLI
29 TUE JAN 01 00:00:00 1980 SCRIPT.TXT
512 TUE JAN 01 00:00:00 1980 SYSTEM DIR
SCE 1000#
Comments to this Manuals