rm

Remove files or directories. See also: rmdir. More information: https://www.gnu.org/software/coreutils/rm.

rm path/to/file1 path/to/file2 ...

rm -f path/to/file1 path/to/file2 ...

rm -i path/to/file1 path/to/file2 ...

rm -v path/to/file1 path/to/file2 ...

rm -r path/to/file_or_directory1 path/to/file_or_directory2 ...