Annotation of cci/usr/src/man/man1/rmdir.1, revision 1.1.1.1

1.1       root        1: .TH RMDIR 1 "1 April 1981"
                      2: .SH NAME
                      3: rmdir, rm  \- remove (unlink) directories or files
                      4: .SH SYNOPSIS
                      5: .B rmdir
                      6: dir ...
                      7: .PP
                      8: .B rm
                      9: [
                     10: .B \-f
                     11: ] [
                     12: .B \-r
                     13: ] [
                     14: .B \-i
                     15: ] [
                     16: .B \-
                     17: ] file ...
                     18: .PP
                     19: .SH DESCRIPTION
                     20: .PP
                     21: .I Rmdir
                     22: removes entries for the named directories, which must be empty.
                     23: .PP
                     24: .I Rm
                     25: removes the entries for one or more files from a directory.
                     26: If an entry was the last link to the file, the file is destroyed.
                     27: Removal of a file requires write permission in its directory,
                     28: but neither read nor write permission on the file itself.
                     29: .PP
                     30: If a file has no write permission and the standard input is a terminal,
                     31: its permissions are printed and a line is read from the standard input.
                     32: If that line begins with `y' the file is deleted, otherwise the file remains.
                     33: No questions are asked and no errors are reported when the
                     34: .B \-f
                     35: (force) option is given.
                     36: .PP
                     37: If a designated file is a directory,
                     38: an error comment is printed unless the optional argument
                     39: .B \-r
                     40: has been used.  In that case,
                     41: .I rm
                     42: recursively deletes the entire contents of the specified directory,
                     43: and the directory itself.
                     44: .PP
                     45: If the
                     46: .B \-i
                     47: (interactive) option is in effect,
                     48: .I rm
                     49: asks whether to delete each file, and, under
                     50: .BR \-r ,
                     51: whether to examine each directory.
                     52: .PP
                     53: The null option
                     54: .B \-
                     55: indicates that all the arguments following it are to be treated as
                     56: file names.  This allows the specification of file names starting with
                     57: a minus.
                     58: .SH "SEE ALSO"
                     59: rm(1), unlink(2), rmdir(2)

unix.superglobalmegacorp.com

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