rm
Rm, usually written as rm, is a standard command in Unix and Unix-like operating systems used to delete files and directories from the filesystem. It is typically found as /bin/rm or /usr/bin/rm and is provided by implementations such as GNU coreutils on Linux, BSD utilities on BSD systems, and equivalent programs on other platforms.
Rm deletes files by issuing the appropriate system calls (such as unlink) and removes directories with directory-specific
Caution is a central concern with rm because deletions are typically permanent and bypass standard trash or
History and variants: rm originated in early Unix as part of the core set of filesystem utilities.
See also: unlink, rmdir, trash or recycle utilities, and shell file-management commands.