Command introduced before JUNOS Release 7.4.
Delete a file on the local router.
filename — Name of the file to delete. For a routing matrix, include chassis information in the filename if the file to be deleted is not local to the Routing Engine from which the command is issued.
purge — (Optional) Overwrite regular files before deleting them.
maintenance
When you enter this command, you are provided feedback on the status of your request.
user@host> file list /var/tmpdcd.core rpd.core snmpd.core
user@host> file delete /var/tmp/snmpd.coreuser@host> file list /var/tmpdcd.core rpd.core
user@host> file list lcc0-re0:/var/tmpdcd.core rpd.core snmpd.core
user@host> file delete lcc0-re0:/var/tmp/snmpd.coreuser@host> file list /var/tmpdcd.core rpd.core