Removing a protected file

The following steps delete a protected file
  1. Move to the directory which contains the directory you wish to delete.
  2. Type the following at the xterm prompt:
    rm -f name
    where name is the name of the directory you wish to delete.

Caution:

  • By removing a file this way you will be overriding possible write(delete) protections placed on the file to protect it from damage. Make sure you know what the file is for before you delete it.
  • Once a file is deleted it is not possible to get it back. Make sure you know what you are removing.
  • If you remove a file that is needed by another program, you may cause the program to operate incorrectly or even not at all. Make sure you know what a file is for before deleting it,.