Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ (1) — Plan9 4th Edition

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

remove(2)

RM(1)

NAME

rm − remove files

SYNOPSIS

­rm [ ­-fr ] ­file ... 

DESCRIPTION

­Rm removes files or directories.  A directory is removed only if it is empty.  Removal of a file requires write permission in its directory, but neither read nor write permission on the file itself.  The options are

­-f Don’t report files that can’t be removed. 

­-r Recursively delete the entire contents of a directory and the directory itself. 

SOURCE

­/sys/src/cmd/rm.c

SEE ALSO

remove(2)

Plan 9  —  December 11, 1999

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026