Annotation of researchv10dc/man/adm/man1/rm.1, revision 1.1.1.1

1.1       root        1: .TH RM 1
                      2: .CT 1 dirs files
                      3: .SH NAME
                      4: rm \- remove (unlink) files
                      5: .SH SYNOPSIS
                      6: .B rm
                      7: [
                      8: .B -fri
                      9: ]
                     10: .I file ...
                     11: .SH DESCRIPTION
                     12: .I Rm
                     13: removes directory entries.
                     14: If an entry was the last link to a file, the file
                     15: is destroyed.
                     16: If an entry is a directory it is removed only if empty.
                     17: Removal of a file requires write permission in its directory,
                     18: but neither read nor write permission on the file itself.
                     19: .PP
                     20: If a file lacks write permission
                     21: and the the standard input is a terminal,
                     22: a query is written to the standard output and
                     23: a line is read from the standard input.
                     24: If that line begins with 
                     25: .L y
                     26: the file is deleted,
                     27: otherwise the file remains.
                     28: The options are
                     29: .TP
                     30: .B -f
                     31: (force)
                     32: Ask no questions about unwritable files and report no errors.
                     33: .TP
                     34: .B -r
                     35: Recursively delete the
                     36: entire contents of a directory
                     37: and the directory itself.
                     38: .TP
                     39: .B -i
                     40: (interactive) 
                     41: Ask whether to delete each file,
                     42: and, under
                     43: .BR -r ,
                     44: whether to examine each directory.
                     45: If the first character of the response is
                     46: .LR y ,
                     47: the answer is yes;
                     48: otherwise the answer is no.
                     49: .SH "SEE ALSO"
                     50: .IR unlink (2)
                     51: .SH DIAGNOSTICS
                     52: It is forbidden to remove the file
                     53: .L ..
                     54: merely to avoid the
                     55: antisocial consequences of inadvertently doing something like
                     56: .LR "rm -r .*" .

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.