document.write("<script language=\"javascript1.2\" type=\"text/javascript\">function emo_pop() {window.open('http://www.haloscan.com/commenthelp.php','Help','width=200,height=360,resizable=yes,scrollbars=yes');}</script><table width=\"95%\" align=\"center\" cellpadding=\"8\" cellspacing=\"10\" border=\"0\" class=\"MainTable\">  <tr>    <td>    <div align=\"center\"><p><div style=\"font-size:14px; margin-top: 15px; padding-top: 10px; border-top-style: solid; border-top-width: 1px;\">Comments</div></p>    </div>    </td>  </tr><tr><td class=\"MessageCell\" bgcolor=\"#EBEBEB\" style=\"border:1px solid #ccc;\">    <a name=\"73057\"></a>        <p>You're giving out needlessly dangerous instructions. Novice users unfamiliar with UNIX should not be using \"rm -f\". The -f option causes rm to delete files without prompting the user. A simple slip of the finger when entering the complete command line can be disastrous (\"rm -f *\" instead of \"rm -f *~\", for example). Users should use \"rm -i\", which will instead prompt them to confirm the deletion of each file. They can cancel a screw-up.<br><br>Note that the -f option means \"force\" as in \"force rm to delete files without prompting\", and not as in \"force rm to delete stubborn files\". It's not the option you're looking for.<br /><span class=\"byline\" style=\"font-family:Tahoma; font-size:11px; color:#666; text-align:right;\">           roothog | 04.18.07 - 9:33 pm | <a href=\"#73057\" title=\"Link to this comment\">#</a></span></p></td></tr><tr><td class=\"MessageCell\" bgcolor=\"#EBEBEB\" style=\"border:1px solid #ccc;\">    <a name=\"82786\"></a>        <p><img src=\"http://www.gravatar.com/avatar.php?gravatar_id=438828753f1b666913f64bb364c54f0b&amp;default=http%3A%2F%2Fwww.macosxtips.co.uk%2Fgravatar.png&amp;rating=PG&amp;size=60\" alt=\"Gravatar\" title=\"Gravatar\" style=\"padding: 1px; margin: 2px; float: right;\" class=\"gravatar\" />Hi,<br><br>What can also be used is the UNIX command \"lsof\". This command LiSts Open Files. Try this for example:<br><br>lsof ~/.Trash<br><br>you will get a list back of processes that have that specific file open.<br><br>Investigate what processes that are, and when safe, use kill to kill the process number.<br><br>Here is a full example:<br>$ lsof ~/.Trash<br>Program   12345678 username  txt     VREG      14,12      16119  9889039 /Users/username/Desktop/file-or-program<br>$ kill 12345678<br>$<br /><span class=\"byline\" style=\"font-family:Tahoma; font-size:11px; color:#666; text-align:right;\">           Robert de Bock | <a href=\"http://meinit.nl/\" title=\"http://meinit.nl/\">Homepage</a> | 07.12.07 - 9:09 am | <a href=\"#82786\" title=\"Link to this comment\">#</a></span></p></td></tr><tr><td class=\"MessageCell\" bgcolor=\"#EBEBEB\" style=\"border:1px solid #ccc;\">    <a name=\"87633\"></a>        <p><img src=\"http://www.gravatar.com/avatar.php?gravatar_id=d41d8cd98f00b204e9800998ecf8427e&amp;default=http%3A%2F%2Fwww.macosxtips.co.uk%2Fgravatar.png&amp;rating=PG&amp;size=60\" alt=\"Gravatar\" title=\"Gravatar\" style=\"padding: 1px; margin: 2px; float: right;\" class=\"gravatar\" />You can also enter the following into terminal,<br>sudo chflags -R nouchg,noschg<br>then a space, then drag the offending file(s) into the terminal window and press return. This will unlock the file in the two ways Finder generally objects to.<br /><span class=\"byline\" style=\"font-family:Tahoma; font-size:11px; color:#666; text-align:right;\">           Joel D. Reid | 10.01.07 - 9:18 pm | <a href=\"#87633\" title=\"Link to this comment\">#</a></span></p></td></tr><tr>    <td class=\"InputCell\">                  <div id=\"newcomment\"></div><form method=\"post\" name=\"addComment\" action=\"http://www.haloscan.com/comments/mattswain123/rw_unique_entry_id_86_page0/\" target=\"_self\">        <p>    Name: <br />          <input name=\"name\" type=\"text\" size=\"38\" value=\"\" /><br />          Email:<br />          <input name=\"email\" type=\"text\" size=\"38\" value=\"\" /><br />          URL: <br />          <input name=\"url\" type=\"text\" size=\"38\" value=\"\" /><br />          Comment:&nbsp;&nbsp;<a href=\"javascript:emo_pop()\" title=\"Smiley and tag help\" target=\"_self\">?</a>&nbsp;<br />          <textarea name=\"addMessage\" rows=\"12\" cols=\"38\"></textarea><br /><input type=\"checkbox\" name=\"subscribe\" id=\"subscribe\" value=\"1\" /><label for=\"subscribe\">Notify me of followup comments via email</label>        </p>        <p class=\"PSubmit\"><input name=\"submit\" type=\"submit\" value=\"Publish\" style=\"font-weight: bold;\" class=\"SubmitButton\" />&nbsp;<input name=\"previewMessage\" type=\"submit\" value=\"Preview\" class=\"SubmitButton\" />        </p>      <input type='hidden' name='user' value='mattswain123' /><input type='hidden' name='comment' value='rw_unique_entry_id_86_page0' /></form>    </td></tr></table><img src=\"http://c5.statcounter.com/counter.php?sc_project=561713&amp;java=0&amp;security=01eeff58\" alt=\"\" border=\"0\" /></body>");