24. File System Management Commands
205
24.9. del
Description
This command is used to delete a file. It is also used to delete a directory and its
contents. The system will prompt if the target file is a bootup image/configuration or
the last image.
Format
del {{unit <unit_id>} <drive_id>} <pathname> {recursive}
Parameters
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To delete a file:
To delete a a directory with the parameter "recursive":
unit
Specifies the unit ID in the stacking system. If not specified, it refers to the master unit.
<unit_id>
Enter the unit ID value here.
<drive_id>
Specifies the drive ID. If not specified, it refers to the current drive.
<pathname>
Specify the file or directory to be deleted. If it is specified in the associated form, then it is
related to the current directory.
recursive (Optional) Used on the directory, to delete a directory and its contents even if it is not
empty.
Zxxx0:admin#del cfg
Command: del cfg
Are you sure to remove the boot up Configuration from this device? (y/n)y
Success.
Zxxx0:admin#
Zxxx0:admin# del d1 recursive
Command: del d1 recursive
Success.
Zxxx0:admin#
Содержание ZEQUO 2200
Страница 3: ...3 ...
Страница 86: ...7 ARP Commands 86 ...
Страница 93: ...9 Auto Configuration Commands 93 ...
Страница 273: ...30 IPv6 NDP Commands 273 ...
Страница 330: ...36 LLDP Commands 330 ...
Страница 361: ...39 MAC based Access Control Commands 361 ...
Страница 435: ...45 Network Monitoring Commands 435 Zxxx0 admin clear attack_log Command clear attack_log Success Zxxx0 admin ...
Страница 461: ...49 Protocol VLAN Commands 461 ...
Страница 483: ...50 QoS Commands 483 ...
Страница 504: ...53 SNMPv1 v2 v3 Commands 504 Only Administrator level users can issue this command ...
Страница 523: ...53 SNMPv1 v2 v3 Commands 523 ...
Страница 562: ...57 Subnet VLAN Commands 562 ...