Annotation of coherent/a/usr/man/MULTI/rm, revision 1.1.1.1

1.1       root        1: 
                      2: 
                      3: rm                           Command                           rm
                      4: 
                      5: 
                      6: 
                      7: 
                      8: Remove files
                      9: 
                     10: rrmm [ -ffiirrttvv ] _f_i_l_e ...
                     11: 
                     12: rm removes each file.  If no other links exist, rm frees the data
                     13: blocks associated with the file.
                     14: 
                     15: To remove  a file, a user must have  write and execute permission
                     16: on the  directory in which  the file resides, and  must also have
                     17: write permission on the  file itself.  The force option -f forces
                     18: the file to be removed if the user does not have write permission
                     19: on  the  file  itself.   It  suppresses  all error  messages  and
                     20: prompts.
                     21: 
                     22: The interactive  option -i tells  rm to prompt  for permission to
                     23: delete each file.
                     24: 
                     25: The recursive  removal option -r causes rm  to descend into every
                     26: directory, search for  and delete files, and descend further into
                     27: subdirectories.   Directories  are removed  if  the directory  is
                     28: empty, is  not the current directory, and is  not the root direc-
                     29: tory.
                     30: 
                     31: The test  option -t  performs all  access testing but  removes no
                     32: files.
                     33: 
                     34: The verbose  option -v  tells rm  to print each  file rm  and the
                     35: action taken.  In conjunction with the -t option, this allows the
                     36: extent of possible damage to be previewed.
                     37: 
                     38: ***** See Also *****
                     39: 
                     40: commands, ln, rmdir
                     41: 
                     42: ***** Notes *****
                     43: 
                     44: Absence of  delete permission  in parent directories  is reported
                     45: with the  message ``_f_i_l_e: permission  denied''.  Write protection
                     46: is not  inherited by subdirectories;  they must be  protected in-
                     47: dividually.
                     48: 
                     49: Note  that  unlike  the  similarly  named command  under  MS-DOS,
                     50: COHERENT's version  of rm  will not prompt  you if you  request a
                     51: mass deletion.  Thus, the command
                     52: 
                     53: 
                     54:         rm *
                     55: 
                     56: 
                     57: will  silently and  immediately delete all  files in  the current
                     58: directory.  Caveat utilitor!
                     59: 
                     60: 
                     61: 
                     62: 
                     63: 
                     64: COHERENT Lexicon                                           Page 1
                     65: 
                     66: 

unix.superglobalmegacorp.com

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