Cisco Cisco Packet Data Gateway (PDG) Guida Alla Risoluzione Dei Problemi
Software Management Operations
Maintaining the Local File System ▀
Cisco ASR 5000 Series System Administration Guide ▄
OL-22969-02
Table 11.
delete
command variables
Keyword/Variable
Description
The name of the file, including any extension, that will be deleted.
Disables the “Are you sure? [Yes | No]” confirmation prompt asked before executing the command.
Example
The following command deletes a file named test.cfg from the /pcmcia1 local device.
The following command deletes a file named test.cfg from the /pcmcia1 local device.
Deleting Directories
The
command deletes a current directory on the specific local device. This directory can then be incorporated as
part of the path name for any file located in the local file system.
Important:
The directory you want to remove (delete) must be empty before executing the
command. If
the directory is not empty, the CLI displays a Directory not empty message and will not execute.
Table 12.
mkdir
command options
Keyword/Variable
Description
The name of the directory to be removed.
Disables the “Are you sure? [Yes | No]” confirmation prompt asked before executing the command.
Example
The following command deletes an empty directory named configs on the /flash local device.
The following command deletes an empty directory named configs on the /flash local device.
Formatting Local Devices
The
command performs a low-level format of a local device. This operation formats the device to use the
FAT16 formatting method, which is required for proper read/write functionality with the operating system.