Rm [Option]... file...
Delete an object.
-F, -- Force Delete. Ignore nonexistent files and do not Prompt confirmation
-I must be confirmed before deletion
-I prompt once before removing more than three files, or
When removing recursively. less intrusive than-I,
While still giving protection against most mistakes
-- Interactive [= when] prompt according to when: never, once (-I), or
Always (-I). Without when, prompt always
-- One-file-system when removing a hierarchy recursively, skip any
Directory that is on a file system different from
That of the corresponding command line argument
-- No-preserve-root does not treat "/" specially
-- Preserve-root cannot delete "/" (default)
-R,-R, -- Recursive recursively deletes directories and their contents
-V, -- verbose detailed display steps
-- Help: displays the help information and leaves
-- Version: displays the version information and leaves.
By default, RM does not delete the directory. Use the -- Recursive (-R or-R) option to delete each given
And all its contents.
To delete an object whose first character is '-' (for example, '-foo'), use one of the following methods:
Rm ---foo
Rm./-foo
Note that if you use RM to delete a file, you can restore it to its original state. If you want to ensure
The content of this file cannot be restored. Please use shred.