<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cannot Delete File in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-file/m-p/3598075#M232483</link>
    <description>If you're really bored and need yet another approach&lt;BR /&gt; &lt;BR /&gt;ls &amp;gt; somefile&lt;BR /&gt; &lt;BR /&gt;edit "somefile" to remove everything except the file you want to remove and insert an "rm " in front of the file name.  Then save it.&lt;BR /&gt; &lt;BR /&gt;sh somefile&lt;BR /&gt; &lt;BR /&gt;I like to do it that way sometimes just to see how odd the filename really is.</description>
    <pubDate>Wed, 10 Aug 2005 02:22:43 GMT</pubDate>
    <dc:creator>Mark Grant</dc:creator>
    <dc:date>2005-08-10T02:22:43Z</dc:date>
    <item>
      <title>Cannot Delete File</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-file/m-p/3598068#M232476</link>
      <description>Hi,&lt;BR /&gt;I am having a file which when I do a ll appears in the directory listing, when I try to delete it system gives error message&lt;BR /&gt;&lt;BR /&gt;"No such file or directory"&lt;BR /&gt;&lt;BR /&gt;Permission on the file is rw-r-r and I cannot change permission as well error message "Cant Access".&lt;BR /&gt;&lt;BR /&gt;What could be the issue ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Amit.&lt;BR /&gt;</description>
      <pubDate>Sun, 07 Aug 2005 18:25:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-file/m-p/3598068#M232476</guid>
      <dc:creator>Amit Dixit_2</dc:creator>
      <dc:date>2005-08-07T18:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Delete File</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-file/m-p/3598069#M232477</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;i think you filename may contains some control character, try to use "rm -i *filename*" to remove the file.</description>
      <pubDate>Sun, 07 Aug 2005 19:43:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-file/m-p/3598069#M232477</guid>
      <dc:creator>Warren_9</dc:creator>
      <dc:date>2005-08-07T19:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Delete File</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-file/m-p/3598070#M232478</link>
      <description>Get the inode with ll -i and then do as Warren suggest.  Or maybe would  rm "file name in quotes" work for ya.&lt;BR /&gt;&lt;BR /&gt;Rgrds,&lt;BR /&gt;Rita&lt;BR /&gt;</description>
      <pubDate>Sun, 07 Aug 2005 20:09:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-file/m-p/3598070#M232478</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2005-08-07T20:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Delete File</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-file/m-p/3598071#M232479</link>
      <description>May be there are some control characters attached to the file name.&lt;BR /&gt;&lt;BR /&gt;# echo * | cat -v&lt;BR /&gt;&lt;BR /&gt;Look for any control characters displayed&lt;BR /&gt;&lt;BR /&gt;# rm -rf *application*&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 07 Aug 2005 20:53:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-file/m-p/3598071#M232479</guid>
      <dc:creator>morganelan</dc:creator>
      <dc:date>2005-08-07T20:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Delete File</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-file/m-p/3598072#M232480</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;ll with -b option can also be used to display files with special characters. Once you find there are special characters in the file remove it using rm with -i option as you use wild characters in the arguments.&lt;BR /&gt;&lt;BR /&gt;#ll -b&lt;BR /&gt;&lt;BR /&gt;#rm -i *filename or filename*&lt;BR /&gt;&lt;BR /&gt;(Put * depending upon the location of control character in the file)&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Sun, 07 Aug 2005 21:23:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-file/m-p/3598072#M232480</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-08-07T21:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Delete File</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-file/m-p/3598073#M232481</link>
      <description>hi Amit&lt;BR /&gt;&lt;BR /&gt;As others say this is due to a special character incorporated in  your file...&lt;BR /&gt;&lt;BR /&gt;One more trick that I use is&lt;BR /&gt;&lt;BR /&gt;rm (filename)&lt;ESC&gt;&lt;ESC&gt;&lt;BR /&gt;&lt;BR /&gt;Where &lt;ESC&gt; is the escape key &lt;BR /&gt;Hit the escape key twice and that will auto complete the command and will automatically find the name with hidden/non ascii characters and complete the word.&lt;BR /&gt;&lt;BR /&gt;cheers!!!&lt;BR /&gt;&lt;BR /&gt;Vinod&lt;BR /&gt;&lt;/ESC&gt;&lt;/ESC&gt;&lt;/ESC&gt;</description>
      <pubDate>Sun, 07 Aug 2005 21:29:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-file/m-p/3598073#M232481</guid>
      <dc:creator>vinod_25</dc:creator>
      <dc:date>2005-08-07T21:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Delete File</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-file/m-p/3598074#M232482</link>
      <description>Get the directory i-node number&lt;BR /&gt;1. #ll -i directoryname|awk '{print $1}'&lt;BR /&gt;&lt;BR /&gt;Verify i-node number via find&lt;BR /&gt;2. #find $PWD -inum XXXXXXX -exec ll {} \;&lt;BR /&gt;&lt;BR /&gt;If output match the directory name, then&lt;BR /&gt;3. #find $PWD -inum XXXXXXX -exec rm -rf {} \;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 07 Aug 2005 21:34:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-file/m-p/3598074#M232482</guid>
      <dc:creator>Matthew_50</dc:creator>
      <dc:date>2005-08-07T21:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Delete File</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-file/m-p/3598075#M232483</link>
      <description>If you're really bored and need yet another approach&lt;BR /&gt; &lt;BR /&gt;ls &amp;gt; somefile&lt;BR /&gt; &lt;BR /&gt;edit "somefile" to remove everything except the file you want to remove and insert an "rm " in front of the file name.  Then save it.&lt;BR /&gt; &lt;BR /&gt;sh somefile&lt;BR /&gt; &lt;BR /&gt;I like to do it that way sometimes just to see how odd the filename really is.</description>
      <pubDate>Wed, 10 Aug 2005 02:22:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-file/m-p/3598075#M232483</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2005-08-10T02:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Delete File</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-file/m-p/3598076#M232484</link>
      <description>Oops, didn't see how old this one was.</description>
      <pubDate>Wed, 10 Aug 2005 02:23:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-file/m-p/3598076#M232484</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2005-08-10T02:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Delete File</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-file/m-p/3598077#M232485</link>
      <description>Amit,&lt;BR /&gt;&lt;BR /&gt;it depends on some control charecters&lt;BR /&gt;i have also many end-users and many times&lt;BR /&gt;they use turkish characters while creating&lt;BR /&gt;files although i warn them so when i want to&lt;BR /&gt;reduce FS about their home dir i face same&lt;BR /&gt;problems...the solution i prefer;&lt;BR /&gt;&lt;BR /&gt;rm -i filename&lt;BR /&gt;&lt;BR /&gt;And also i sometimes apply as Mark's solution&lt;BR /&gt;&lt;BR /&gt;Good Luck,</description>
      <pubDate>Wed, 10 Aug 2005 02:45:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cannot-delete-file/m-p/3598077#M232485</guid>
      <dc:creator>Cem Tugrul</dc:creator>
      <dc:date>2005-08-10T02:45:55Z</dc:date>
    </item>
  </channel>
</rss>

