codeaprendiz.github.io

DevOps Essentials

View on GitHub

##rm

NAME

rm, unlink – remove directory entries

SYNOPSIS

rm [-dfiPRrvW] file …

unlink file

DESCRIPTION

The rm utility attempts to remove the non-directory type files specified on the command line. If the permissions of the file do not permit writing, and the standard input device is a terminal, the user is prompted (on the standard error output) for confirmation.

OPTIONS

The options are as follows:

rm -rf directory_name