<?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: Removing a file named &amp;quot;--hi&amp;quot; in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-file-named-quot-hi-quot/m-p/4971952#M418079</link>
    <description>There are many ways to remove this type of file, I am listing some of them&lt;BR /&gt;&lt;BR /&gt;Get the INODE number===&amp;gt; ls -i&lt;BR /&gt;# ls -i&lt;BR /&gt;3232 -hi&lt;BR /&gt;&lt;BR /&gt;1. for f in `find . -inum 3232`&lt;BR /&gt;   do&lt;BR /&gt;       rm -i $f&lt;BR /&gt;   done&lt;BR /&gt;&lt;BR /&gt;2.  rm -i `find . -inum 3232`&lt;BR /&gt;&lt;BR /&gt;3. find . -inum 3232 -ok rm {} \;&lt;BR /&gt;&lt;BR /&gt;4. rm ./-hi&lt;BR /&gt;&lt;BR /&gt;5. rm $PWD/-hi&lt;BR /&gt;&lt;BR /&gt;6. rm -- -hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;Prasad</description>
    <pubDate>Thu, 06 Apr 2006 00:22:23 GMT</pubDate>
    <dc:creator>Prasad Joshi</dc:creator>
    <dc:date>2006-04-06T00:22:23Z</dc:date>
    <item>
      <title>Removing a file named "--hi"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-file-named-quot-hi-quot/m-p/4971946#M418073</link>
      <description>Hi ..&lt;BR /&gt;for error, i created a file named "--hi"&lt;BR /&gt;instead of "hi" ..&lt;BR /&gt;how can i delete it?&lt;BR /&gt;&lt;BR /&gt;i'm aplying :&lt;BR /&gt;rm "--hi"&lt;BR /&gt;and appears:&lt;BR /&gt;rm: illegal option -- -&lt;BR /&gt;rm: illegal option -- h&lt;BR /&gt;rm: illegal option -- i&lt;BR /&gt;&lt;BR /&gt;thanks, Manuales</description>
      <pubDate>Wed, 05 Apr 2006 10:28:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-file-named-quot-hi-quot/m-p/4971946#M418073</guid>
      <dc:creator>Manuales</dc:creator>
      <dc:date>2006-04-05T10:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Removing a file named "--hi"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-file-named-quot-hi-quot/m-p/4971947#M418074</link>
      <description>try this&lt;BR /&gt;&lt;BR /&gt;rm -- --hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 05 Apr 2006 10:33:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-file-named-quot-hi-quot/m-p/4971947#M418074</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-04-05T10:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Removing a file named "--hi"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-file-named-quot-hi-quot/m-p/4971948#M418075</link>
      <description>Try&lt;BR /&gt;&lt;BR /&gt;rm \-\-hi&lt;BR /&gt;&lt;BR /&gt;or remove via the inum&lt;BR /&gt;&lt;BR /&gt;See &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.helpdesk.umd.edu/topics/troubleshooting/os/unix/1231/" target="_blank"&gt;http://www.helpdesk.umd.edu/topics/troubleshooting/os/unix/1231/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 05 Apr 2006 10:33:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-file-named-quot-hi-quot/m-p/4971948#M418075</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-04-05T10:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Removing a file named "--hi"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-file-named-quot-hi-quot/m-p/4971949#M418076</link>
      <description>rm -- --hi&lt;BR /&gt;&lt;BR /&gt;The "--" tells the command that no further options are to be processed so that "-" has no further significance. The is a standard convention for UNIX commands because it is built into the getopts() library function.</description>
      <pubDate>Wed, 05 Apr 2006 10:35:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-file-named-quot-hi-quot/m-p/4971949#M418076</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-04-05T10:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Removing a file named "--hi"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-file-named-quot-hi-quot/m-p/4971950#M418077</link>
      <description>Or try-&lt;BR /&gt; &lt;BR /&gt;rm ./--hi&lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt; &lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Wed, 05 Apr 2006 10:35:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-file-named-quot-hi-quot/m-p/4971950#M418077</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2006-04-05T10:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Removing a file named "--hi"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-file-named-quot-hi-quot/m-p/4971951#M418078</link>
      <description>THANKS ALL!!!&lt;BR /&gt;IT WORKED !!!!&lt;BR /&gt;&lt;BR /&gt;THANK YOU VERY MUCH !!!&lt;BR /&gt;:0)&lt;BR /&gt;&lt;BR /&gt;Manuales.</description>
      <pubDate>Wed, 05 Apr 2006 10:53:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-file-named-quot-hi-quot/m-p/4971951#M418078</guid>
      <dc:creator>Manuales</dc:creator>
      <dc:date>2006-04-05T10:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Removing a file named "--hi"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-file-named-quot-hi-quot/m-p/4971952#M418079</link>
      <description>There are many ways to remove this type of file, I am listing some of them&lt;BR /&gt;&lt;BR /&gt;Get the INODE number===&amp;gt; ls -i&lt;BR /&gt;# ls -i&lt;BR /&gt;3232 -hi&lt;BR /&gt;&lt;BR /&gt;1. for f in `find . -inum 3232`&lt;BR /&gt;   do&lt;BR /&gt;       rm -i $f&lt;BR /&gt;   done&lt;BR /&gt;&lt;BR /&gt;2.  rm -i `find . -inum 3232`&lt;BR /&gt;&lt;BR /&gt;3. find . -inum 3232 -ok rm {} \;&lt;BR /&gt;&lt;BR /&gt;4. rm ./-hi&lt;BR /&gt;&lt;BR /&gt;5. rm $PWD/-hi&lt;BR /&gt;&lt;BR /&gt;6. rm -- -hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;Prasad</description>
      <pubDate>Thu, 06 Apr 2006 00:22:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-file-named-quot-hi-quot/m-p/4971952#M418079</guid>
      <dc:creator>Prasad Joshi</dc:creator>
      <dc:date>2006-04-06T00:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Removing a file named "--hi"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-file-named-quot-hi-quot/m-p/4971953#M418080</link>
      <description>Thanks Prassad for your attention to answer even have been closed this issue ...&lt;BR /&gt;&lt;BR /&gt;really, thank you very much ...  i'd like give you points but i can not do it because i do not have the option to do it because it's a closed issue.&lt;BR /&gt;&lt;BR /&gt;THANKS ...&lt;BR /&gt;Manuales.</description>
      <pubDate>Thu, 13 Apr 2006 12:08:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-file-named-quot-hi-quot/m-p/4971953#M418080</guid>
      <dc:creator>Manuales</dc:creator>
      <dc:date>2006-04-13T12:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Removing a file named "--hi"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-file-named-quot-hi-quot/m-p/4971954#M418081</link>
      <description>Actually, just so you know, Mauales, you can re-open the thread, assign points, then close the thread again!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 13 Apr 2006 12:21:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-file-named-quot-hi-quot/m-p/4971954#M418081</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-04-13T12:21:57Z</dc:date>
    </item>
  </channel>
</rss>

