![Alied Telesis GS970M/10 Скачать руководство пользователя страница 95](http://html1.mh-extra.com/html/alied-telesis/gs970m-10/gs970m-10_command-reference-manual_2896773095.webp)
C613-50163-01 Rev C
Command Reference for GS970M Series
95
AlliedWare Plus™ Operating System - Version 5.4.7-0.x
F
ILE
AND
C
ONFIGURATION
M
ANAGEMENT
C
OMMANDS
DELETE
delete
Overview
This command deletes files or directories.
Syntax
delete [force] [recursive] <
filename
>
Mode
Privileged Exec
Examples
To delete the file
temp.cfg
from the current directory, use the command:
awplus#
delete temp.cfg
To delete the read-only file
one.cfg
from the current directory, use the
command:
awplus#
delete force one.cfg
To delete the directory
old_configs
, which is not empty, use the command:
awplus#
delete recursive old_configs
To delete the directory
new_configs
, which is not empty, without prompting if
any read-only files are being deleted, use the command:
awplus#
delete force recursive new_configs
Related
Commands
Parameter
Description
force
Ignore nonexistent filenames and never prompt before deletion.
recursive
Remove the contents of directories recursively.
<
filename
>
The filename and path of the file to delete. See
77 for valid syntax.