Red Hat Linux 9 Professional Secrets [Electronic resources]

Naba Barkakati

نسخه متنی -صفحه : 341/ 253
نمايش فراداده

rm

Purpose

Delete one or more files.

Syntax

rm [options]

files

Options

-f removes files without prompting.

-i prompts before removing a file.

-r recursively removes files in all subdirectories, including the directories.

-v displays the name of each file before removing it.

Description

The

rm command deletes the specified files. To remove a file, you must have write permission to the directory that contains the file.