<?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: How to remove weird file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-weird-file/m-p/5032170#M431085</link>
    <description>camintp6:/home/egprdbb/bin # rm -i -r *&lt;BR /&gt;directory : ? (y/n) y&lt;BR /&gt;directory /home: ? (y/n) camintp6:/home/egprdbb/bin # ll | more&lt;BR /&gt;total 454&lt;BR /&gt;drwx------   3 root       sys             96 Mar  2 15:24 ^V&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Wait!  It did not work. Still there. Then it lists a dir (/home) that is not even in this directory... ??? Confused!</description>
    <pubDate>Tue, 06 Mar 2007 12:54:09 GMT</pubDate>
    <dc:creator>Tonya Underwood</dc:creator>
    <dc:date>2007-03-06T12:54:09Z</dc:date>
    <item>
      <title>How to remove weird file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-weird-file/m-p/5032164#M431079</link>
      <description>camintp6:/home/egprdbb/bin # ll | more&lt;BR /&gt;total 454&lt;BR /&gt;drwx------   3 root       sys             96 Mar  2 15:24 ^V&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When I do an ll (without more)&lt;BR /&gt;&lt;BR /&gt;camintp6:/home/egprdbb/bin # ll&lt;BR /&gt;total 454&lt;BR /&gt;drwx------   3 root       sys             96 Mar  2 15:24 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;How can I remove this directory?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Tue, 06 Mar 2007 12:38:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-weird-file/m-p/5032164#M431079</guid>
      <dc:creator>Tonya Underwood</dc:creator>
      <dc:date>2007-03-06T12:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove weird file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-weird-file/m-p/5032165#M431080</link>
      <description>Just use rm -R -i    (or rmdir -i)   &lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Hein&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Mar 2007 12:43:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-weird-file/m-p/5032165#M431080</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-03-06T12:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove weird file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-weird-file/m-p/5032166#M431081</link>
      <description>Always fun to create unprintable file and directory names.  Assuming that the directory is empty you should be able to use:&lt;BR /&gt;&lt;BR /&gt;rmdir \cntrl-V&lt;BR /&gt;&lt;BR /&gt;Just type a backslash '\' character that tells the shell to ignore any special properties of the next character.  Then hold down the ctrl button and press V.&lt;BR /&gt;&lt;BR /&gt;Good luck!</description>
      <pubDate>Tue, 06 Mar 2007 12:43:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-weird-file/m-p/5032166#M431081</guid>
      <dc:creator>Bob E Campbell</dc:creator>
      <dc:date>2007-03-06T12:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove weird file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-weird-file/m-p/5032167#M431082</link>
      <description>One of the easiest ways is to use "rmdir -i *", then respond "n" to all those you want to keep.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 06 Mar 2007 12:44:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-weird-file/m-p/5032167#M431082</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2007-03-06T12:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove weird file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-weird-file/m-p/5032168#M431083</link>
      <description>You have control characters embedded in the filename.&lt;BR /&gt;&lt;BR /&gt;Do this but be careful:&lt;BR /&gt;&lt;BR /&gt;cd to parent directory.&lt;BR /&gt;rmdir -i *&lt;BR /&gt;&lt;BR /&gt;You will be prompted for each file/directory name. Answer 'y' ONLY to the directory that you want to delete. Answer 'n' to everything else. After your directory has been deleted, you can enter Ctrl-C (or whatever your intr character is set to) to terminate the command.&lt;BR /&gt;&lt;BR /&gt;If the direcory is not empty then you need to do a &lt;BR /&gt;rm -r -i *&lt;BR /&gt;which will also ask before removing.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Mar 2007 12:45:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-weird-file/m-p/5032168#M431083</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-03-06T12:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove weird file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-weird-file/m-p/5032169#M431084</link>
      <description>I had already tried the \cntlv but that did not work... &lt;BR /&gt;&lt;BR /&gt;I did an rmdir -i * and did it that way. Should've thought of that.&lt;BR /&gt;&lt;BR /&gt;THANKS&lt;BR /&gt;Tonya</description>
      <pubDate>Tue, 06 Mar 2007 12:47:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-weird-file/m-p/5032169#M431084</guid>
      <dc:creator>Tonya Underwood</dc:creator>
      <dc:date>2007-03-06T12:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove weird file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-weird-file/m-p/5032170#M431085</link>
      <description>camintp6:/home/egprdbb/bin # rm -i -r *&lt;BR /&gt;directory : ? (y/n) y&lt;BR /&gt;directory /home: ? (y/n) camintp6:/home/egprdbb/bin # ll | more&lt;BR /&gt;total 454&lt;BR /&gt;drwx------   3 root       sys             96 Mar  2 15:24 ^V&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Wait!  It did not work. Still there. Then it lists a dir (/home) that is not even in this directory... ??? Confused!</description>
      <pubDate>Tue, 06 Mar 2007 12:54:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-weird-file/m-p/5032170#M431085</guid>
      <dc:creator>Tonya Underwood</dc:creator>
      <dc:date>2007-03-06T12:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove weird file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-weird-file/m-p/5032171#M431086</link>
      <description>Curious.  I retried \ctrl-V and it worked most of the time, but sometimes it ended up as a ^J.  I love it when computers are random, will look into this in my copious free time (if nobody has that answer)&lt;BR /&gt;&lt;BR /&gt;Answered my own question but still do not understand.  Using:&lt;BR /&gt;&lt;BR /&gt;rmdir \^V^V&lt;BR /&gt;&lt;BR /&gt;ended up as a single ^V.  I wonder if that was due to the shell editor....</description>
      <pubDate>Tue, 06 Mar 2007 12:54:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-weird-file/m-p/5032171#M431086</guid>
      <dc:creator>Bob E Campbell</dc:creator>
      <dc:date>2007-03-06T12:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove weird file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-weird-file/m-p/5032172#M431087</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Yet another way is to find the inode number of the directory and remove by that:&lt;BR /&gt;&lt;BR /&gt;# ls -il&lt;BR /&gt;340 drwx------ 3 root sys 96 Mar 2 15:24 ^V&lt;BR /&gt;&lt;BR /&gt;...the inode number is 340.  Now:&lt;BR /&gt;&lt;BR /&gt;# cd /path&lt;BR /&gt;# find /path -xdev -type d -inum 340 -exec rm -ri {} \;&lt;BR /&gt;&lt;BR /&gt;Note that inode numbers are only unique within a filesystem.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Mar 2007 13:01:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-weird-file/m-p/5032172#M431087</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-03-06T13:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove weird file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-weird-file/m-p/5032173#M431088</link>
      <description>the find by inum was perfect. Thanks.&lt;BR /&gt;Done.</description>
      <pubDate>Tue, 06 Mar 2007 13:31:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-weird-file/m-p/5032173#M431088</guid>
      <dc:creator>Tonya Underwood</dc:creator>
      <dc:date>2007-03-06T13:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove weird file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-weird-file/m-p/5032174#M431089</link>
      <description>removed by inode</description>
      <pubDate>Tue, 06 Mar 2007 13:32:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-remove-weird-file/m-p/5032174#M431089</guid>
      <dc:creator>Tonya Underwood</dc:creator>
      <dc:date>2007-03-06T13:32:03Z</dc:date>
    </item>
  </channel>
</rss>

