rm(1) - SerenityOS man pages

#Name

rm - Remove files

#Synopsis

$ rm [options...] <path...>

#Description

rm removes files specified in path.

If a directory is specified in path, the -r (recursive) flag is required. Otherwise, an error occurs.

#Options

#Examples

# Remove README.md file
$ rm README.md

# Remove Tests directory
$ rm -r Tests

#See also