The rm command in the Unix operating system is used to remove files from the file system. It is similar to the del command in MS-DOS.
Its usage is considered potentially more dangerous than equivalents in other operating systems because of the way Unix and Unix-like systems parse wildcards and names of special directories and in its non-verbose actions. However newer versions may prove to have protection against such accidents occurring.