3 delete, 4 dir, Delete – PLANET WGSW-52040 User Manual

Page 117

Advertising
background image

2-116

2.3 delete

Command:

delete <file-url>

Function:

Delete the designate file on the storage device.

Parameters:

<file-url> is the full path of the file to be deleted.

Command Mode:

Admin Mode.

Default Settings:

None.

Usage Guide:

The designated file will be deleted after implementing this command.

Example:

Delete file flash:/nos.img.

Switch#delete flash:/nos5.img

Delete file flash:/nos5.img?[Y:N]y

Deleted file flash:/nos.img.

2.4 dir

Command:

dir [WORD]

Function:

Display the information of the designated directory on the storage device.

Parameters:

<WORD> is the name of the shown directory. There may be the following formats: directory name, slot-xx#directory

Advertising