rm

From RaySoft

rm is a basic UNIX command used to remove objects such as files, directories, device nodes, symbolic links, and so on from the filesystem. To be more precise, rm removes references to objects from the filesystem, where those objects might have had multiple references (for example, a file with two different names), and the objects themselves are discarded only when all references have been removed and no programs still have open handles to the objects.[1]

Documentation

Syntax

rm [PARAMETER ...] [FILE/DIRECTORY ...]

Parameters

General
The following parameters can be used with all version of ls:
NOTE:
BSD version only supports the short form (e.g. -r) of these parameters!
-f, --force
Ignore nonexistent files, never prompt.
-r, -R, --recursive
Remove directories and their contents recursively.
-v, --verbose
Explain what is being done.
GNU
The following parameters can be used with the GNU version of ls:
-d, --dir
Remove empty directories.

References