man(1) Manual page archive

rm(1) - Unix First Edition Manual Page
11/3/71RM (I)

NAME rm -- remove (unlink) files

SYNOPSIS' rm name1 ...
DESCRIPTION rm removes the entries for one or more files from adirectory. If an entry was the last link to the file, the

file is destroyed. Removal of a file requires writepermission in its directory, but neither read nor write permission on the file itself. Directories cannot be removed by rm; cf. rmdir.
FILES none.

SEE_ALSO rmdir, for removing directories.
DIAGNOSTICS If the file cannot be removed or does not exist, the nameof the file followed by a question mark is typed.

BUGS rm probably should ask whether a read--only file is reallyto be removed.
OWNER ken, dmr