RM

Remove a file from a file system

RM

Delete one or more files. There are no wildcards. Each failure prints Warning: failed to remove file: <name> and makes the command fail, but the remaining files are still tried. Paths are inside the syncd container, and the command runs there as root. Deleting files that syncd uses, such as its warm-boot files, can break the next warm reboot.

Hardware-validated

drivshell> rm /tmp/bcm-diag.log

Built-in help

Parameters: <file>
    Remove a file from a filesystem

Further reading

SDK-6.5.20 HSDK Getting Started Guide (GS-SDK6520-R), plus SDK-6.5.20/21/22 Release Notes (RN-SDK65xx-R).