rm Top Level

rm


Use the rm command to remove the entries for one or more files from a
directory. For example:

   world%  rm old.schedule

The rm command does not remove .. and anything above target directory
when invoked with an argument which ends in /..  It will print error
messages in these cases.

 Three options apply to rm:

 -f   This option causes the removal of all files (whether write-protected
      or not) in a directory without prompting the user.  In a write-
      protected directory, however, files are never removed (whatever
      their permissions are), but no messages are displayed.  If the
      removal of a write-protected directory is attempted, this option
      will not suppress an error message.

 -r   This option causes the recursive removal of any directories and
      subdirectories in the argument list.  The directory will be emptied
      of files and removed.  Note that the user is normally prompted for
      removal of any write-protected files which the directory contains.
      The write-protected files are removed without prompting, however, if
      the -f option is used, or if the standard input is not a terminal
      and the -i option is not used.

      Symbolic links that are encountered with this option will not be
      traversed.

      If the removal of a non-empty, write-protected directory is
      attempted, the command will always fail (even if the -f option is
      used), resulting in an error message.

 -i   With this option, confirmation of removal of any file occurs
      interactively.  It overrides the -f option and remains in effect
      even if the standard input is not a terminal.


HOME Top of Help Desk Eye On The World  The World Kiosk

             For further assistance, please send an email 
                   request to support@world.std.com

        Copyright 1995 Software Tool & Die, Inc.  All Rights Reserved.

   Software Tool & Die, Inc., 1330 Beacon St. Suite 215 Brookline, MA 02146